Package java.io
Class PipedWriter
Description:
This method connects this piped writer to the piped reader. An IOException will be thrown, if this object is already connected to some other piped reader.
Example
PipedReader pr = new PipedReader();
PipedWriter pw = new PipedWriter();
pw.connect(pr);
The connect method connects the piped writer stream with the piped reader stream.