Module java.base
Package java.io

Interface Flushable

    • Method Summary

      Modifier and Type Method Description
      void flush()
      Flushes this stream by writing any buffered output to the underlying stream.
    • Method Detail

      • flush

        void flush()
            throws IOException
        Flushes this stream by writing any buffered output to the underlying stream.
        Throws:
        IOException - If an I/O error occurs