public class CapturingProcessAdapter extends ProcessAdapter
Constructor and Description |
---|
CapturingProcessAdapter() |
CapturingProcessAdapter(ProcessOutput output) |
Modifier and Type | Method and Description |
---|---|
protected void |
addToOutput(java.lang.String text,
Key outputType) |
ProcessOutput |
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 CapturingProcessAdapter()
public CapturingProcessAdapter(ProcessOutput output)
public void onTextAvailable(ProcessEvent event, Key outputType)
onTextAvailable
in interface ProcessListener
onTextAvailable
in class ProcessAdapter
protected void addToOutput(java.lang.String text, Key outputType)
public void processTerminated(ProcessEvent event)
processTerminated
in interface ProcessListener
processTerminated
in class ProcessAdapter
public ProcessOutput getOutput()