- Closeable
- 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).
- Flushable
- A Flushable is a destination of data that can be flushed. The flush method is invoked to write any buffered output to the underlying stream.
Tuesday, May 22, 2007
closeable and flushable interfaces in Java 5
Java 5 has two separate interfaces in java.io package.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment