Interface Flushable

All Known Implementing Classes:
BufferedOutputStream, BufferedWriter, ByteArrayOutputStream, CheckedOutputStream, DataOutputStream, DeflaterOutputStream, DeflaterOutputStream, FilterOutputStream, FilterOutputStream, GZIPOutputStream, GZIPOutputStream, OutputStream, OutputStreamWriter, PrintStream, PrintWriter, StringWriter, Writer, ZipArchiveOutputStream, ZipOutputStream

public interface Flushable

Indicates that an output object can be flushed.

Since

1.5

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Flushes the object by writing out any buffered data to the underlying output.
  • Method Details

    • 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.
      Throws:
      IOException