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, waitForComplete
public ExternalCompiler(JavaCompilerUtil compiler)
protected void compileInt(java.lang.String[] paths, LineMap lineMap) throws java.io.IOException
compileInt
in class AbstractJavaCompiler
path
- the path to the java source.lineMap
- mapping from the generated source to the original files.java.io.IOException
public void handleAlarm(Alarm alarm)
alarm
- the alarm we've been waiting for.public void abort()
abort
in class AbstractJavaCompiler