Package java.io
Class PipedInputStream
Description:
This method closes this piped input stream and releases any system resources associated with this stream.
Example
PipedOutputStream pos = new PipedInputStream();
PipedInputStream pis = new PipedInputStream(pos);
pos.close();
pis.close();
The close method closes the piped input and output stream.