| java.io.Closeable
All known Subclasses: java.io.FileOutputStream, java.io.Reader, java.io.OutputStream, java.io.RandomAccessFile, java.io.FileInputStream, java.util.Formatter, java.io.Writer, java.io.InputStream, java.io.PrintStream,
Closeable | public interface Closeable (Code) | | Closeable represents the source or destination of some data which can be
called its close method to release resources it holds.
|
Method Summary | |
public void | close() Close the object and release any system resources it holds. |
close | public void close() throws IOException(Code) | | Close the object and release any system resources it holds. If the object
has been close, then invoke this method has no effect.
throws: IOException - if any error raises when closing the object. |
|
|