Package java.io
Class PipedInputStream

Public Method connect

void connect(PipedOutputStream source)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

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.