Package java.io
Interface Flushable
-
- All Known Implementing Classes:
DummyOutputStream
,FlinkUARTOutputStream
,OutputStream
,PrintStream
,SCIOutputStream
,UARTOutputStream
,UARTOutputStream
,UARTOutputStream
public interface Flushable
Defines an interface for classes that can (or need to) be flushed, typically before some output processing is considered to be finished and the object gets closed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
flush()
Flushes the object by writing out any buffered data to the underlying output.
-
-
-
Method Detail
-
flush
void flush() throws IOException
Flushes the object by writing out any buffered data to the underlying output.- Throws:
IOException
- if there are any issues writing the data.
-
-