public final class CompilerFactoryFactory
extends java.lang.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(java.lang.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 java.lang.String |
getSpecificationVersion() |
public static ICompilerFactory getDefaultCompilerFactory() throws java.lang.Exception
org.codehaus.commons.compiler on the class path, then loads and
instantiates its ICompilerFactory.ICompilerFactory of the first implementation on the class pathjava.lang.Exception - Many things can go wrong while finding and initializing the default compiler factorypublic static ICompilerFactory[] getAllCompilerFactories() throws java.lang.Exception
org.codehaus.commons.compiler on the class path, then loads and
instantiates their ICompilerFactorys.ICompilerFactorys of all implementations on the class pathjava.lang.Exception - Many things can go wrong while finding and initializing compiler factoriespublic static ICompilerFactory getCompilerFactory(java.lang.String compilerFactoryClassName) throws java.lang.Exception
ICompilerFactory by class name.compilerFactoryClassName - Name of a class that implements ICompilerFactoryjava.lang.Exception - Many things can go wrong while loading and initializing the default compiler
factorypublic static java.lang.String getSpecificationVersion()
null