Interface IFlushableStreamMonitor

    • Method Detail

      • flushContents

        void flushContents()
        Empties the contents of this stream monitor's underlying buffer.
      • setBuffered

        void setBuffered​(boolean buffer)
        Sets whether the contents of this monitor's underlying stream should be buffered. When false, contents appended to this stream monitor are not stored in a buffer, and are thus not available from getContents(). Registered listeners are notified of appended text, and must buffer the contents if desired.
        Parameters:
        buffer - whether the contents of this monitor's underlying stream should be buffered
      • isBuffered

        boolean isBuffered()
        Returns whether the contents of this monitor's underlying stream is buffered.
        Returns:
        whether the contents of this monitor's underlying stream is buffered