FileDocCategorySizeDatePackage
Closeable.javaAPI DocAndroid 1.5 API1495Wed May 06 22:41:04 BST 2009java.io

Closeable

public 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.
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public voidclose()
Closes the object and release any system resources it holds. If the object has already been closed, then invoking this method has no effect.

throws
IOException if any error occurs when closing the object.
since
Android 1.0