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