|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.metanotion.util.ObjectStreamPump<I>
public final class ObjectStreamPump<I>
Connect an ObjectInputStream to an ObjectOutputStream. This class does the "opposite" of ObjectPipe. Given an input stream, it will read every object, and the write it to the corresponding output stream.
| Constructor Summary | |
|---|---|
ObjectStreamPump(ObjectInputStream<I> in,
ObjectOutputStream<I> out)
Create a stream pump. |
|
| Method Summary | |
|---|---|
void |
start()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectStreamPump(ObjectInputStream<I> in,
ObjectOutputStream<I> out)
in - InputStream to read from.out - OutputStream to write to.| Method Detail |
|---|
public void start()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||