org.biojava.utils.process
Class SimpleOutputHandler
java.lang.Object
org.biojava.utils.process.StreamPipe
org.biojava.utils.process.SimpleOutputHandler
- All Implemented Interfaces:
- Runnable, OutputHandler
public class SimpleOutputHandler
- extends StreamPipe
- implements OutputHandler
Simple output handler
that pipes the output of an external process to an
output stream.
- Version:
- $Revision: 1.1 $
- Author:
- Martin Szugat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Runnable |
run |
SimpleOutputHandler
public SimpleOutputHandler(OutputStream output,
String tag)
- Initializes the simple output handler.
- Parameters:
output
- the output stream to which to write the output of the
external process. May be null
.tag
- a tag for logging. May be null
.