Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Closeable extends AutoCloseable
A Closeable
is a source or destination of data that can be closed.
The close method is invoked to release resources that the object is
holding (such as open files).
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this stream and releases any system resources associated with it. |
Method Detail |
---|
void close() throws IOException
close
in interface AutoCloseable
IOException
- if an I/O error occurs
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.