org.biojava.utils.process
public class ReaderInputHandler extends ReaderWriterPipe implements InputHandler
| Constructor and Description |
|---|
ReaderInputHandler(Reader reader,
String tag)
Initializes the reader input handler.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutput()
Gets the output stream.
|
void |
run() |
void |
setOutput(OutputStream output)
Sets the output stream.
|
getReader, getWriter, setReader, setWriterpublic void setOutput(OutputStream output)
setOutput in interface InputHandleroutput - the output stream. May be null.public OutputStream getOutput()
getOutput in interface InputHandlernull.public void run()
run in interface Runnablerun in class ReaderWriterPipe