Skip to content

Most visited

Recently visited

navigation
Added in API level 1

Flushable

public interface Flushable

java.io.Flushable
Known Indirect Subclasses


Defines an interface for classes that can (or need to) be flushed, typically before some output processing is considered to be finished and the object gets closed.

Summary

Public methods

abstract void flush()

Flushes the object by writing out any buffered data to the underlying output.

Public methods

flush

Added in API level 1
void flush ()

Flushes the object by writing out any buffered data to the underlying output.

Throws
IOException if there are any issues writing the data.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.