public final class ZipMetadata extends MetadataContainer
Represents ZIP metadata. It contains entries inside ZIP and user comment.
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 inside ZIP archive. |
int |
getTotalEntries()
Gets the total entries inside ZIP archive.
|
void |
setComment(String value)
Sets the ZIP archive comment created by a user.
|
getKeys
getByType, getMetadataType, 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
inside ZIP archive.
public final int getTotalEntries()
Gets the total entries inside ZIP archive.
Copyright © 2018. All rights reserved.