Closeablepublic interface Closeable Defines an interface for classes that can (or need to) be closed once they
are not used any longer. This usually includes all sorts of
{@link InputStream}s and {@link OutputStream}s. Calling the {@code close}
method releases resources that the object holds. |
Methods Summary |
---|
public void | close()Closes the object and release any system resources it holds. If the
object has already been closed, then invoking this method has no effect.
|
|