|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Closeable
A 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.
Method Summary | |
---|---|
void |
close()
Closes the stream represented by this class, thus freeing system resources. |
Method Detail |
---|
void close() throws IOException
IOException
- if an I/O error occurs in closing.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |