|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.commons.compiler.CompilerFactoryFactory
public final class CompilerFactoryFactory
Utility class that finds implementations of ICompilerFactory
s.
Method Summary | |
---|---|
static ICompilerFactory[] |
getAllCompilerFactories()
Finds all implementation of org.codehaus.commons.compiler on the class path, then loads and
instantiates their ICompilerFactory s. |
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 path
java.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 ICompilerFactory
s.
ICompilerFactory
s of all implementations on the class path
java.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 ICompilerFactory
java.lang.Exception
- Many things can go wrong while loading and initializing the default compiler
factorypublic static java.lang.String getSpecificationVersion()
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |