java.io

Interface Flushable

public interface Flushable

A Flushable class represents a stream of data, for which internally buffered data can be `flushed'. Flushing such a stream causes the buffered data to be written to the stream.

Since: 1.5

Method Summary
voidflush()
Flushes the stream represented by this class, so that any buffered data is written to the stream.

Method Detail

flush

public void flush()
Flushes the stream represented by this class, so that any buffered data is written to the stream.

Throws: IOException if an I/O error occurs in flushing.