public class OutputListener extends ProcessAdapter
Constructor and Description |
---|
OutputListener() |
OutputListener(java.lang.StringBuilder out,
java.lang.StringBuilder err) |
Modifier and Type | Method and Description |
---|---|
Output |
getOutput() |
void |
onTextAvailable(ProcessEvent event,
Key outputType) |
void |
processTerminated(ProcessEvent event) |
startNotified
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processWillTerminate
public OutputListener()
public OutputListener(java.lang.StringBuilder out, java.lang.StringBuilder err)
public void onTextAvailable(ProcessEvent event, Key outputType)
onTextAvailable
in interface ProcessListener
onTextAvailable
in class ProcessAdapter
public void processTerminated(ProcessEvent event)
processTerminated
in interface ProcessListener
processTerminated
in class ProcessAdapter
public Output getOutput()