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 ReaderInputHandler(Reader reader, String tag)
reader - the reader from which to read the input for the external
 process. May be null.tag - a tag for logging. May be null.public 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 ReaderWriterPipeCopyright © 2020 BioJava. All rights reserved.