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) |
startNotifiedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessWillTerminatepublic OutputListener()
public OutputListener(java.lang.StringBuilder out,
java.lang.StringBuilder err)
public void onTextAvailable(ProcessEvent event, Key outputType)
onTextAvailable in interface ProcessListeneronTextAvailable in class ProcessAdapterpublic void processTerminated(ProcessEvent event)
processTerminated in interface ProcessListenerprocessTerminated in class ProcessAdapterpublic Output getOutput()