Package java.io
Class PipedOutputStream
Description:
This method flusehes this piped output stream and forces any buffered output bytes to be written out. This will notify any readers that bytes are waiting in the pipe.
Example
PipedOutputStream pos = new PipedOutputStream();
...
pos.flush();
The example above flushes the piped output stream.