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