|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.utils.process.StreamPipe
org.biojava.utils.process.SimpleInputHandler
public final class SimpleInputHandler
Simple input handler that reads the input for an external process from an input stream. The output stream for the input of the external process is closed after the input stream is read to its end.
Constructor Summary | |
---|---|
SimpleInputHandler(java.io.InputStream input,
java.lang.String tag)
Initializes the simple input handler. |
Method Summary | |
---|---|
void |
run()
|
Methods inherited from class org.biojava.utils.process.StreamPipe |
---|
getInput, getOutput, setInput, setOutput |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.biojava.utils.process.InputHandler |
---|
getOutput, setOutput |
Constructor Detail |
---|
public SimpleInputHandler(java.io.InputStream input, java.lang.String tag)
input
- the input stream from which to read the input for the
external process. May be null
.tag
- a tag for logging. May be null
.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class StreamPipe
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |