com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class ZipMetadata



  • public final class ZipMetadata
    extends MetadataContainer

    Represents ZIP metadata. It contains entries inside ZIP and user comment.

    • Constructor Detail

      • ZipMetadata

        public ZipMetadata()

        Initializes a new instance of the ZipMetadata class.

    • Method Detail

      • getComment

        public final String getComment()

        Gets the ZIP archive comment created by a user.

        Returns:
        The user's comment.
      • setComment

        public final void setComment(String value)

        Sets the ZIP archive comment created by a user.

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

        public final ZipFileInfo[] getFiles()

        Gets the array of ZipFileInfo inside ZIP archive.

        Returns:
        The array of entries inside ZIP arhive.
      • getTotalEntries

        public final int getTotalEntries()

        Gets the total entries inside ZIP archive.

        Returns:
        The total entries.