Writer.flush

Writer.flush

Class Overview | Class Members | This Package | All Packages

Syntax
public abstract void flush() throws IOException
Description
Flush the stream. If the stream has saved any characters from the various write() methods in a buffer, write them immediately to their intended destination. Then, if that destination is another character or byte stream, flush it. Thus one flush() invocation will flush all the buffers in a chain of Writers and OutputStreams.

Exceptions
IOException If an I/O error occurs