public class Main extends Object
| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,KeywordExecutable> |
checkDuplicates(Iterable<? extends KeywordExecutable> services) |
static void |
execMainClass(Class<?> classWithMain,
String[] args) |
static ClassLoader |
getClassLoader() |
static Map<String,KeywordExecutable> |
getExecutables(ClassLoader cl) |
static Class<?> |
getVFSClassLoader() |
static Class<?> |
loadClassFromJar(String[] args,
JarFile f,
ClassLoader cl) |
static void |
main(String[] args) |
static void |
printUsage() |
static String[] |
stripArgs(String[] originalArgs,
int numToStrip) |
public static void main(String[] args)
public static ClassLoader getClassLoader()
public static Class<?> getVFSClassLoader() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static void printUsage()
public static Map<String,KeywordExecutable> getExecutables(ClassLoader cl)
public static Map<String,KeywordExecutable> checkDuplicates(Iterable<? extends KeywordExecutable> services)
public static Class<?> loadClassFromJar(String[] args, JarFile f, ClassLoader cl) throws ClassNotFoundException, IOException
ClassNotFoundExceptionIOExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.