lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 1

Flushable

public interface Flushable

java.io.Flushable


A Flushable is a destination of data that can be flushed. The flush method is invoked to write any buffered output to the underlying stream.

Summary

Public methods

abstract void flush()

Flushes this stream by writing any buffered output to the underlying stream.

Public methods

flush

added in API level 1
public abstract void flush ()

Flushes this stream by writing any buffered output to the underlying stream.

Throws
IOException If an I/O error occurs