org.opensolaris.opengrok.util
Interface Executor.StreamHandler
- Enclosing class:
- Executor
public static interface Executor.StreamHandler
You should use the StreamHandler interface if you would like to process
the output from a process while it is running
Method Summary |
void |
processStream(java.io.InputStream in)
Process the data in the stream. |
processStream
void processStream(java.io.InputStream in)
throws java.io.IOException
- Process the data in the stream. The processStream function is
called _once_ during the lifetime of the process, and you should
process all of the input you want before returning from the function.
- Parameters:
in
- The InputStream containing the data
- Throws:
java.io.IOException