public interface Flushable
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.Modifier and Type | Method and Description |
---|---|
void |
flush()
Flushes the stream represented by this class,
so that any buffered data is written to the stream.
|
void flush() throws IOException
IOException
- if an I/O error occurs in flushing.