- All Implemented Interfaces:
- java.lang.AutoCloseable
- Direct Known Subclasses:
- HttpResponse, InputStream, JsonArrayWriter, JsonObjectWriter, LogEnterLeave, OutputStream, Reader, Socket, Writer
public abstract class AutoCloseable
extends java.lang.Object
implements java.lang.AutoCloseable
Subclasses of AutoCloseable automatically have their close() method called when used in the Java7 try-with-resources
statement. The C# version of this class implements the IDisposable interface and maps calls to the Dispose method to
close(). Essentially this class maps to the target language autoclosable-like interface (assuming it has that).
- Since:
- 4/26/13 11:58 PM