public final class CompilerFactoryFactory extends Object
ICompilerFactory
s.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 ICompilerFactory s. |
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 ICompilerFactory
s.ICompilerFactory
s 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 ICompilerFactory
Exception
- Many things can go wrong while loading and initializing the default compiler
factorypublic static String getSpecificationVersion()
null
Copyright © 2001–2016. All rights reserved.