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