|
||||||||||
| 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(Reader reader,
Writer writer,
String tag)
Initializes the reader writer pipe. |
|
| Method Summary | |
|---|---|
Reader |
getReader()
Gets the reader. |
Writer |
getWriter()
Gets the writer. |
void |
run()
|
void |
setReader(Reader reader)
Sets the reader. |
void |
setWriter(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(Reader reader,
Writer writer,
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 Reader getReader()
null.public Writer getWriter()
null.public void setReader(Reader reader)
reader - the reader from which to read. May be null.public void setWriter(Writer writer)
writer - the writer to which to write. May be null.public void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||