Closeable

interface Closeable

A Closeable is an object holding closeable resources, such as open files or streams.

Inheritors

Functions

Link copied to clipboard
abstract fun close()

Closes this object and releases any resources associated with it. If the object is already closed then invoking this method has no effect.