Package com.bc.ceres.compiler
Class CodeCompiler
java.lang.Object
com.bc.ceres.compiler.CodeCompiler
A Java code compiler.
-
Constructor Summary
ConstructorsConstructorDescriptionCodeCompiler
(File outputDir, File[] classPath) CodeCompiler
(JavaCompiler compiler, File outputDir, File[] classPath) -
Method Summary
-
Constructor Details
-
CodeCompiler
-
CodeCompiler
-
-
Method Details
-
compile
public Class<?> compile(String packageName, String className, String code) throws IOException, ClassNotFoundException - Throws:
IOException
ClassNotFoundException
-
compile
- Throws:
IOException
ClassNotFoundException
-