public final class CompilerFactoryFactory extends Object
ICompilerFactorys.| Modifier and Type | Method and Description |
|---|---|
static ICompilerFactory[] |
getAllCompilerFactories()
Finds all implementation of
org.codehaus.commons.compiler on the class path, then loads and
instantiates their ICompilerFactorys. |
static ICompilerFactory |
getCompilerFactory(String compilerFactoryClassName)
Loads an
ICompilerFactory by class name. |
static ICompilerFactory |
getDefaultCompilerFactory()
Finds the first implementation of
org.codehaus.commons.compiler on the class path, then loads and
instantiates its ICompilerFactory. |
static String |
getSpecificationVersion() |
public static ICompilerFactory getDefaultCompilerFactory() throws Exception
org.codehaus.commons.compiler on the class path, then loads and
instantiates its ICompilerFactory.ICompilerFactory of the first implementation on the class pathException - Many things can go wrong while finding and initializing the default compiler factorypublic static ICompilerFactory[] getAllCompilerFactories() throws Exception
org.codehaus.commons.compiler on the class path, then loads and
instantiates their ICompilerFactorys.ICompilerFactorys of all implementations on the class pathException - Many things can go wrong while finding and initializing compiler factoriespublic static ICompilerFactory getCompilerFactory(String compilerFactoryClassName) throws Exception
ICompilerFactory by class name.compilerFactoryClassName - Name of a class that implements ICompilerFactoryException - Many things can go wrong while loading and initializing the default compiler
factorypublic static String getSpecificationVersion()
nullCopyright © 2019. All rights reserved.