public abstract class Compile extends Object
| Constructor and Description |
|---|
Compile() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertCompile() |
protected void |
assertNotCompile() |
protected void |
assertRun(String mainClass) |
protected void |
compile() |
protected int |
compile(boolean ignoreCompilationError) |
File |
getClassOutputDir() |
String |
getCompilerOutput() |
void |
setClassOutputDir(File classOutputDir) |
protected void |
writeClass(String classDef,
String content) |
protected void |
writeClass(String packageName,
String[] imports,
String typeDef,
String content) |
protected void |
writeClass(String packageName,
String typeDef,
String content) |
protected void writeClass(String packageName, String[] imports, String typeDef, String content)
packageName - imports - typeDef - content - protected void assertRun(String mainClass)
protected void assertCompile()
protected void assertNotCompile()
protected void compile()
protected int compile(boolean ignoreCompilationError)
public File getClassOutputDir()
public void setClassOutputDir(File classOutputDir)
classOutputDir - the classOutputDir to setpublic String getCompilerOutput()
Copyright © 2016 Github jjYBdx4IL Projects. All rights reserved.