Packages

 

com.aspose.imaging

Interfaces

Classes

com.aspose.imaging

Class DisposableObject

    • Constructor Detail

      • DisposableObject

        public DisposableObject()
    • Method Detail

      • getDisposed

        public final boolean getDisposed()

        Gets a value indicating whether this instance is disposed.

        Returns:
        true if disposed; otherwise, false.
      • dispose

        public final void dispose()

        Disposes the current instance.

        Specified by:
        dispose in interface com.aspose.ms.System.IDisposable
      • close

        public void close()

        Implements the Closable interface and can be used in the try-with-resources statement since JDK 1.7. This method simply call dispose method.

        Specified by:
        close in interface Closeable
        Specified by:
        close in interface AutoCloseable