Package java.io
Class PipedWriter

Public Method connect

void connect(PipedReader sink)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

This method connects this piped writer to the piped reader. An IOException will be thrown, if this object is already connected to some other piped reader.

Example

   PipedReader pr = new PipedReader();
   PipedWriter pw = new PipedWriter();

   pw.connect(pr);

The connect method connects the piped writer stream with the piped reader stream.