net.sf.tomp.xtcl
Class CompilerFactory

java.lang.Object
  extended bynet.sf.tomp.xtcl.CompilerFactory

public class CompilerFactory
extends java.lang.Object

Author:
tomp

Constructor Summary
CompilerFactory()
           
 
Method Summary
static void cloneCompilers(Context srcContext, Context targetContext)
           
static Compiler createCompiler(java.lang.Class compClass, Context context)
           
static Compiler createCompiler(java.lang.String compClassName, Context context)
           
static void createDefaultCompilers(Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompilerFactory

public CompilerFactory()
Method Detail

createDefaultCompilers

public static void createDefaultCompilers(Context context)
                                   throws java.lang.InstantiationException,
                                          java.lang.IllegalAccessException,
                                          java.lang.ClassNotFoundException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException

createCompiler

public static Compiler createCompiler(java.lang.String compClassName,
                                      Context context)
                               throws java.lang.InstantiationException,
                                      java.lang.IllegalAccessException,
                                      java.lang.ClassNotFoundException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException

createCompiler

public static Compiler createCompiler(java.lang.Class compClass,
                                      Context context)
                               throws java.lang.InstantiationException,
                                      java.lang.IllegalAccessException,
                                      java.lang.ClassNotFoundException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException

cloneCompilers

public static void cloneCompilers(Context srcContext,
                                  Context targetContext)
                           throws java.lang.InstantiationException,
                                  java.lang.IllegalAccessException,
                                  java.lang.ClassNotFoundException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException


Copyright © 2004 Masaryk University in Brno, Faculty of Informatics, Czech Republic. All Rights Reserved.