public interface LineProcessEventListener extends ProcessEventListener
Modifier and Type | Method and Description |
---|---|
void |
onLineAvailable(java.lang.String line,
Key outputType)
This method is invoked when line (as separated by \n or \r) becomes available.
|
processTerminated, startFailed
void onLineAvailable(java.lang.String line, Key outputType)
line
- a line of the textoutputType
- a type of output (one of constants from ProcessOutputTypes
)