public class Compiler
extends java.lang.Object
Compiles .java files using SpoonAPI
Constructor and Description |
---|
Compiler() |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
compile(java.lang.String fileName,
java.lang.String code,
java.lang.String dest) |
public static java.io.File compile(java.lang.String fileName, java.lang.String code, java.lang.String dest) throws java.io.IOException
fileName
- of java file to be compiledcode
- of the java file to be storeddest
- to save the compiled file tojava.io.IOException
- if the file does not exist