Interface Flushable
- All Known Implementing Classes:
BufferedOutputStream, BufferedOutputStream, BufferedWriter, ByteArrayOutputStream, CheckedOutputStream, DataOutputStream, DeflaterOutputStream, DeflaterOutputStream, FilterOutputStream, FilterOutputStream, GZIPOutputStream, GZIPOutputStream, OutputStream, OutputStreamWriter, PrintStream, PrintWriter, StringWriter, TarOutputStream, Writer, ZipArchiveOutputStream, ZipOutputStream
public interface Flushable
Indicates that an output object can be flushed.
Since
1.5
-
Method Summary
Modifier and TypeMethodDescriptionvoidflush()Flushes the object by writing out any buffered data to the underlying output.
-
Method Details
-
flush
Flushes the object by writing out any buffered data to the underlying output.
Throws
IOException: if there are any issues writing the data.
- Throws:
IOException
-