TarPackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage

public final class TarPackage extends CustomPackage

Represents ZIP archive metadata.



 
  The following code snippet shows how to get metadata from a ZIP archive.
 
 



Learn more


Methods

Method Description
getFiles() Gets an array of ZipFile entries inside the ZIP archive.
getTotalEntries() Gets the total number of entries inside the ZIP archive.

getFiles()

public final TarFile[] getFiles()

Gets an array of ZipFile entries inside the ZIP archive. Value: An array of ZipFile entries inside the ZIP archive.

Returns: com.groupdocs.metadata.core.TarFile[]

getTotalEntries()

public final long getTotalEntries()

Gets the total number of entries inside the ZIP archive. Value: The total number of entries inside the ZIP archive.

Returns: long