public class Compiler extends 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(File file)
Compiles a single File.
|
void |
compile(File[] files)
Compiles a series of Files.
|
void |
compile(String[] files)
Compiles a series of Files from file names.
|
void |
compile(String name,
String code)
Compiles a string of code.
|
public static final Compiler DEFAULT
public Compiler()
public Compiler(CompilerConfiguration configuration)
public void compile(File file) throws CompilationFailedException
CompilationFailedException
public void compile(File[] files) throws CompilationFailedException
CompilationFailedException
public void compile(String[] files) throws CompilationFailedException
CompilationFailedException
public void compile(String name, String code) throws CompilationFailedException
CompilationFailedException