|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.utils.process.ReaderWriterPipe
public class ReaderWriterPipe
A multi threaded class which pipes the contents of an input reader to an output writer.
Constructor Summary | |
---|---|
ReaderWriterPipe(java.io.Reader reader,
java.io.Writer writer,
java.lang.String tag)
Initializes the reader writer pipe. |
Method Summary | |
---|---|
java.io.Reader |
getReader()
Gets the reader. |
java.io.Writer |
getWriter()
Gets the writer. |
void |
run()
|
void |
setReader(java.io.Reader reader)
Sets the reader. |
void |
setWriter(java.io.Writer writer)
Sets the writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReaderWriterPipe(java.io.Reader reader, java.io.Writer writer, java.lang.String tag)
reader
- the reader from which to read. May be null
.writer
- the writer to which to write. May be null
.tag
- a tag for loggging. May be null
.Method Detail |
---|
public java.io.Reader getReader()
null
.public java.io.Writer getWriter()
null
.public void setReader(java.io.Reader reader)
reader
- the reader from which to read. May be null
.public void setWriter(java.io.Writer writer)
writer
- the writer to which to write. May be null
.public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |