common.io
Interface ProcessExecutor.LineVisitor
- Enclosing class:
- ProcessExecutor
public static interface ProcessExecutor.LineVisitor
Interface defining a visitor that will be called with lines of text
read from the process output.
Method Summary |
boolean |
process(java.lang.String line,
boolean isError)
Called when a line of text is read from the process output. |
process
boolean process(java.lang.String line,
boolean isError)
- Called when a line of text is read from the process output.
- Parameters:
line
- The line from the output.isError
- Whether line is from error output.
- Returns:
- Whether to continue reading the output.