public final class ZipMetadata extends MetadataContainer
Represents ZIP archive metadata.
Constructor and Description |
---|
ZipMetadata()
Initializes a new instance of the
ZipMetadata class. |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Gets the ZIP archive comment created by a user.
|
ZipFileInfo[] |
getFiles()
Gets the array of
ZipFileInfo entries inside the ZIP archive. |
long |
getTotalEntries()
Gets the total number of entries inside the ZIP archive.
|
void |
setComment(String value)
Sets the ZIP archive comment created by a user.
|
getByType, getKeys, getMetadataType, iterator, readByStringKey
public ZipMetadata()
Initializes a new instance of the ZipMetadata
class.
public final String getComment()
Gets the ZIP archive comment created by a user.
public final void setComment(String value)
Sets the ZIP archive comment created by a user.
value
- The user's comment.public final ZipFileInfo[] getFiles()
Gets the array of ZipFileInfo
entries inside the ZIP archive.
ZipFileInfo
entries inside the ZIP archive.public final long getTotalEntries()
Gets the total number of entries inside the ZIP archive.
Copyright © 2019. All rights reserved.