|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.tomp.xtcl.CompilerFactory
public class CompilerFactory
Simple CompilerFactory, creates Compilers, either the standard ones or of the specified class
Constructor Summary | |
---|---|
CompilerFactory()
|
Method Summary | |
---|---|
static void |
cloneCompilers(Context srcContext,
Context targetContext)
Clones all compilers to a target Context |
static Compiler |
createCompiler(java.lang.Class compClass,
Context context)
Similar to createCompiler but creates Compiler with the specified Class compClass |
static Compiler |
createCompiler(java.lang.String compClassName,
Context context)
Similar to createDefaultCompilers but creates Compiler with the specified classname compClassName |
static void |
createDefaultCompilers(Context context)
Create the default Compiler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompilerFactory()
Method Detail |
---|
public static void createDefaultCompilers(Context context) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
context
- Context to be set to the new Compiler
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
- if Compiler class initialization failspublic static Compiler createCompiler(java.lang.String compClassName, Context context) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
compClassName
- Compiler class namecontext
- Context to be set to the new Compiler
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
- if Compiler class initialization failspublic static Compiler createCompiler(java.lang.Class compClass, Context context) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
compClass
- the Compiler classcontext
-
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
- if Compiler class initialization failspublic static void cloneCompilers(Context srcContext, Context targetContext) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
srcContext
- the source ContexttargetContext
- the target Context
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
- if Compiler class initialization fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |