|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg_scala_tools_maven_executions.MainHelper
public class MainHelper

Helper methods
| Constructor Summary | |
|---|---|
MainHelper()
|
|
| Method Summary | |
|---|---|
static void |
appendUrltoClasspathCollection(ClassLoader cl,
Collection<String> classpath)
|
static File |
createArgFile(List<String> args)
Creates a file containing all the arguments. |
static String[] |
findFiles(File dir,
String pattern)
|
static String[] |
findFiles(File dir,
String[] includes,
String[] excludes)
|
static String |
locateJar(Class<?> c)
|
static List<String> |
readArgFile(File argFile)
Creates a file containing all the arguments. |
static void |
runMain(String mainClassName,
List<String> args,
ClassLoader cl)
Runs the main method of a java class |
static String |
toClasspathString(ClassLoader cl)
|
static String |
toMultiPath(List<String> paths)
|
static String |
toMultiPath(String[] paths)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MainHelper()
| Method Detail |
|---|
public static String toMultiPath(List<String> paths)
public static String toMultiPath(String[] paths)
public static String[] findFiles(File dir,
String pattern)
public static String[] findFiles(File dir,
String[] includes,
String[] excludes)
public static String toClasspathString(ClassLoader cl)
throws Exception
Exception
public static void appendUrltoClasspathCollection(ClassLoader cl,
Collection<String> classpath)
throws Exception
Exception
public static File createArgFile(List<String> args)
throws IOException
IOException
public static List<String> readArgFile(File argFile)
throws IOException
IOException
public static void runMain(String mainClassName,
List<String> args,
ClassLoader cl)
throws Exception
Exception
public static String locateJar(Class<?> c)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||