public class WriterOutputHandler extends ReaderWriterPipe implements OutputHandler
| Constructor and Description |
|---|
WriterOutputHandler(Writer writer,
String tag)
Initializes the writer output handler.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInput()
Gets the input stream.
|
void |
setInput(InputStream input)
Sets the input stream.
|
getReader, getWriter, run, setReader, setWriterpublic WriterOutputHandler(Writer writer, String tag)
writer - the writer to which to write the output of the external
process. May be null.tag - a tag for logging. May be null.public void setInput(InputStream input)
setInput in interface OutputHandlerinput - the input stream. May be null.public InputStream getInput()
getInput in interface OutputHandlernull.Copyright © 2014 BioJava. All rights reserved.