Package java.io
Class PipedReader
Description:
This method closes this piped stream and releases any system resources associated with this stream.
Example
PipedReader pr = new PipedReader();
PipedWriter pw = new PipedReader(pr);
pr.close();
pw.close();
The close method closes the piped reader and writer stream.