public interface Flushable
Indicates that an output object can be flushed.
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flushes the object by writing out any buffered data to the underlying
output.
|
void flush() throws IOException
Flushes the object by writing out any buffered data to the underlying output.
IOException
- if there are any issues writing the data.