public abstract interface
AutoCloseable
Comment
Returned-by
Constructor-argument
Method-argument
Field-type
Type-bound
Links
A resource that must be closed when it is no longer needed.
Since:
1.7
java.io/InputStream
java.io/OutputStream
java.io/Reader
java.io/Writer
java.beans/Persistence
java.io/File
java.lang/ClassLoader
java.net/Socket
java.nio/channels/Selector
java.nio/file/Visitor
java.nio/file/Watch
java.sql/Connection
java.sql/ResultSet
java.sql/Statement
java.util/Scanner, Formatter
javax.imageio/stream
javax.sound/midi/Device
javax.sound/midi/Events
javax.sound/sampled/Line
javax.sql/RowSet
javax.tools/JavaFileManager
java.io/ObjectStreams
java.nio/channels/AsynchronousChannel
java.nio/channels/Channel Hierarchy
java.nio/channels/Channel Hierarchy Expanded
java.nio/channels/FileChannel
java.nio/channels/Pipe
java.nio/channels/SocketChannel
java.nio/file/FileSystem
java.security/MessageDigest
java.util/zip, jar/Stream
java.util/zip, jar/ZipFile
javax.crypto/Cipher
javax.sound/sampled/Format
JavaDoc