Package java.io
Class PipedInputStream
Description:
This method connects this piped input stream to the piped output stream source. An IOException will be thrown, if this object is already connected to some other piped output stream.
Example
PipedOutputStream pos = new PipedOutputStream();
PipedInputStream pis = new PipedInputStream();
pis.connect(pos);
The connect method connects the piped input stream with the piped output stream.