JavaScript is disabled on your browser.
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
java.lang
Interface AutoCloseable
All Known Subinterfaces:
ByteChannel
,
CallableStatement
,
Channel
,
Clip
,
Closeable
,
Connection
,
DataLine
,
GatheringByteChannel
,
InterruptibleChannel
,
Line
,
MidiDevice
,
Mixer
,
ObjectInput
,
ObjectOutput
,
Port
,
PreparedStatement
,
ReadableByteChannel
,
Receiver
,
ResultSet
,
RMIConnection
,
RowSet
,
ScatteringByteChannel
,
Sequencer
,
SourceDataLine
,
Statement
,
Synthesizer
,
TargetDataLine
,
Transmitter
,
WritableByteChannel
All Known Implementing Classes:
AbstractInterruptibleChannel
,
AbstractSelectableChannel
,
AudioInputStream
,
BufferedInputStream
,
BufferedOutputStream
,
BufferedReader
,
BufferedWriter
,
ByteArrayInputStream
,
ByteArrayOutputStream
,
CharArrayReader
,
CharArrayWriter
,
CheckedInputStream
,
CheckedOutputStream
,
CipherInputStream
,
CipherOutputStream
,
DatagramChannel
,
DataInputStream
,
DataOutputStream
,
DeflaterOutputStream
,
DigestInputStream
,
DigestOutputStream
,
FileChannel
,
FileInputStream
,
FileLock
,
FileOutputStream
,
FileReader
,
FileWriter
,
FilterInputStream
,
FilterOutputStream
,
FilterReader
,
FilterWriter
,
Formatter
,
GZIPInputStream
,
GZIPOutputStream
,
InflaterInputStream
,
InputStream
,
InputStream
,
InputStream
,
InputStreamReader
,
JarInputStream
,
JarOutputStream
,
LineNumberInputStream
,
LineNumberReader
,
LogStream
,
ObjectInputStream
,
ObjectOutputStream
,
OutputStream
,
OutputStream
,
OutputStream
,
OutputStreamWriter
,
Pipe.SinkChannel
,
Pipe.SourceChannel
,
PipedInputStream
,
PipedOutputStream
,
PipedReader
,
PipedWriter
,
PrintStream
,
PrintWriter
,
ProgressMonitorInputStream
,
PushbackInputStream
,
PushbackReader
,
RandomAccessFile
,
Reader
,
SelectableChannel
,
SequenceInputStream
,
ServerSocketChannel
,
SocketChannel
,
StringBufferInputStream
,
StringReader
,
StringWriter
,
Writer
,
XMLDecoder
,
XMLEncoder
,
ZipInputStream
,
ZipOutputStream
public interface
AutoCloseable
Resource that must be closed after it is no longer used.
Since:
1.7
Method Summary
Methods
Modifier and Type
Method and Description
void
close
()
Method Detail
close
void
close
() throws
Exception
Throws:
Exception
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method