com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class FormatBase

    • Method Detail

      • getType

        public abstract int getType()

        Gets the type of the loaded file.

        Returns:
        The type of the loaded file.
      • getMIMEType

        public final String getMIMEType()

        Gets the MIME type of the loaded file.

        Returns:
        The MIME type of the loaded file.
      • cleanMetadata

        public void cleanMetadata()

        Removes writable metadata properties associated with the file.


        This feature is not supported in trial mode.

      • getMetadata

        public final Metadata[] getMetadata()

        Gets an array of metadata packages extracted from the file.

        Returns:
        Returns an array of metadata packages extracted from the file.
      • save

        public void save(OutputStream outputStream)

        Saves the file content into a stream.

        Parameters:
        outputStream - The output stream.
      • save

        public final void save(String outputPath)

        Saves the file content to the specified file.

        Parameters:
        outputPath - The output path.
      • save

        public final void save()

        Saves all changes made in the loaded file.

      • dispose

        public final void dispose()

        Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

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

        protected void dispose(boolean disposing)

        Releases unmanaged and optionally managed resources.

        Parameters:
        disposing - true to release both managed and unmanaged resources; false to release only unmanaged resources.