Package org.biojava.utils.process
Interface InputHandler
-
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
ReaderInputHandler
,SimpleInputHandler
public interface InputHandler extends Runnable
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputStream
getOutput()
Gets the output stream.void
setOutput(OutputStream output)
Sets the output stream.
-
-
-
Method Detail
-
setOutput
void setOutput(OutputStream output)
Sets the output stream. The input for the external process is read from this output stream.- Parameters:
output
- the output stream. May benull
.
-
getOutput
OutputStream getOutput()
Gets the output stream. The input for the external process is read from this output stream.- Returns:
- the output stream. May be
null
.
-
-