public class Compiler
extends java.lang.Object
Constructor and Description |
---|
Compiler()
Initializes the Compiler with default configuration.
|
Compiler(CompilerConfiguration configuration)
Initializes the Compiler with the specified configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
compile(java.io.File file)
Compiles a single File.
|
void |
compile(java.io.File[] files)
Compiles a series of Files.
|
void |
compile(java.lang.String[] files)
Compiles a series of Files from file names.
|
void |
compile(java.lang.String name,
java.lang.String code)
Compiles a string of code.
|
public static final Compiler DEFAULT
public Compiler()
public Compiler(CompilerConfiguration configuration)
public void compile(java.io.File file) throws CompilationFailedException
CompilationFailedException
public void compile(java.io.File[] files) throws CompilationFailedException
CompilationFailedException
public void compile(java.lang.String[] files) throws CompilationFailedException
CompilationFailedException
public void compile(java.lang.String name, java.lang.String code) throws CompilationFailedException
CompilationFailedException