java.io
public interface Closeable
Closeable
class represents a stream of
data, which can be closed when it is no longer needed.
Closing a stream allows the resources it uses to be
freed for an alternate use.
Since: 1.5
Method Summary | |
---|---|
void | close()
Closes the stream represented by this class, thus freeing
system resources. |
Throws: IOException if an I/O error occurs in closing.