Package org.biojava.utils.process
Interface InputHandler
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
ReaderInputHandler
,SimpleInputHandler
Interface to a threadable input handler for
an external process.
The input handler is used to write the
STDIN input of an
external process.
- Version:
- $Revision$
- Author:
- Martin Szugat
-
Method Summary
Modifier and TypeMethodDescriptionGets the output stream.void
setOutput
(OutputStream output) Sets the output stream.
-
Method Details
-
setOutput
Sets the output stream. The input for the external process is read from this output stream.- Parameters:
output
- the output stream. May benull
.
-
getOutput
Gets the output stream. The input for the external process is read from this output stream.- Returns:
- the output stream. May be
null
.
-