public class ExternalCompiler extends AbstractJavaCompiler
| Modifier and Type | Class and Description |
|---|---|
static class |
ExternalCompiler.CompilerThread |
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
log |
_compiler, L| Constructor and Description |
|---|
ExternalCompiler(JavaCompilerUtil compiler) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Aborts the compilation.
|
protected void |
compileInt(java.lang.String[] paths,
LineMap lineMap)
Compile the configured file.
|
void |
handleAlarm(Alarm alarm)
This callback should only occur if the compiler freezes.
|
getException, isDone, notifyComplete, run, setLineMap, setPath, waitForCompletepublic ExternalCompiler(JavaCompilerUtil compiler)
protected void compileInt(java.lang.String[] paths,
LineMap lineMap)
throws java.io.IOException
compileInt in class AbstractJavaCompilerpath - the path to the java source.lineMap - mapping from the generated source to the original files.java.io.IOExceptionpublic void handleAlarm(Alarm alarm)
alarm - the alarm we've been waiting for.public void abort()
abort in class AbstractJavaCompiler