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