public interface OutputHandler extends StreamVisitor
readLine(String)
method.
This method should return:
true
if next line should be read. For instance, if current line is null
, it probably
means that no more output is available. This may let handlers to implement a custom
logic.
false
if next line should not be read (end of output).Modifier and Type | Method and Description |
---|---|
boolean |
readLine(String line)
Read a line from command output.
|
boolean readLine(String line)
readLine
in interface StreamVisitor
line
- Line output.Copyright © 2015. All Rights Reserved.