Package org.biojava.utils.process
Interface OutputHandler
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
SimpleOutputHandler
,WriterOutputHandler
Interface to a threadable output handler for
an external process.
The output handler is used to collect the output of the
STDOUT} output and/or the
STDERR of an external
process.
invalid @linkplain
{@linkplain java.lang.Process#getOutputStream()()
- Version:
- $Revision$
- Author:
- Martin Szugat
-
Method Summary
Modifier and TypeMethodDescriptiongetInput()
Gets the input stream.void
setInput
(InputStream input) Sets the input stream.
-
Method Details
-
setInput
Sets the input stream. The output of the external process is written to this input stream.- Parameters:
input
- the input stream. May benull
.
-
getInput
Gets the input stream. The output of the external process is written to this input stream.- Returns:
- the input stream. May be
null
.
-