Interface Drain
-
- All Known Implementing Classes:
LoggingDrain,StringDrain
public interface DrainCallback interface to process a processes standard output or error output.Note: This interface can only process character data. Binary output is currently not supported.
Method
drain(String)is called for each line emitted by the process. So please be aware, that a newline character is truncated at the end of the line.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddrain(java.lang.String line)Callback method to process a line outputted by the process.
-