|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.utils.process.ReaderWriterPipe
org.biojava.utils.process.WriterOutputHandler
public class WriterOutputHandler
Simple output handler that writes the output of an external process to an writer.
Constructor Summary | |
---|---|
WriterOutputHandler(java.io.Writer writer,
java.lang.String tag)
Initializes the writer output handler. |
Method Summary | |
---|---|
java.io.InputStream |
getInput()
Gets the input stream. |
void |
setInput(java.io.InputStream input)
Sets the input stream. |
Methods inherited from class org.biojava.utils.process.ReaderWriterPipe |
---|
getReader, getWriter, run, setReader, setWriter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Runnable |
---|
run |
Constructor Detail |
---|
public WriterOutputHandler(java.io.Writer writer, java.lang.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
.Method Detail |
---|
public void setInput(java.io.InputStream input)
setInput
in interface OutputHandler
input
- the input stream. May be null
.public java.io.InputStream getInput()
getInput
in interface OutputHandler
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |