com.groupdocs.metadata.legacy

Interfaces

Classes

Exceptions

com.groupdocs.metadata.legacy

Class ZipFormat

    • Constructor Detail

      • ZipFormat

        public ZipFormat(String fileName)
        Deprecated. 

        Initializes a new instance of the ZipFormat class.

        Parameters:
        fileName - A string that contains the full name of the file from which to create a ZipFormat instance.
      • ZipFormat

        public ZipFormat(InputStream input)
        Deprecated. 

        Initializes a new instance of the ZipFormat class.

        Parameters:
        input - A stream that contains the data for this ZipFormat.
    • Method Detail

      • getType

        public int getType()
        Deprecated. 

        Gets the type of the loaded file.

        Specified by:
        getType in class FormatBase
        Returns:
        The type of the loaded file.
      • getZipInfo

        public final ZipMetadata getZipInfo()
        Deprecated. 

        Gets the metadata extracted from the ZIP file.

        Returns:
        The ZIP information.
      • getZipFileComment

        public final String getZipFileComment()
        Deprecated. 

        Gets the user's comment to the archive.

        Returns:
        The user's comment to the archive.
      • setZipFileComment

        public final void setZipFileComment(String value)
        Deprecated. 

        Sets the user's comment to the archive.

        Parameters:
        value - The user's comment to the archive.
      • getFiles

        public final ZipFileInfo[] getFiles()
        Deprecated. 

        Gets an array that contains information about the archived files and directories.

        Returns:
        An array that contains information about the archived files and directories.
      • cleanMetadata

        public void cleanMetadata()
        Deprecated. 

        Removes writable metadata properties associated with the file. Currently, only the archive file comment is cleaned.


        This feature is not available in trial mode.

        Overrides:
        cleanMetadata in class FormatBase
      • removeFileComment

        public final void removeFileComment()
        Deprecated. 

        Removes the user's file comment. The comment is related to the whole archive.


        This feature is not available in trial mode.