Package java.io
Class PipedReader

Public Method connect

void connect(PipedWriter source)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

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.