| Package | Description | 
|---|---|
| org.apache.commons.compress.archivers.zip | Provides stream classes for reading and writing archives using
      the ZIP format. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractUnicodeExtraFieldA common base class for Unicode extra information extra fields. | 
| class  | AsiExtraFieldAdds Unix file permission and UID/GID fields as well as symbolic
 link handling. | 
| class  | JarMarkerIf this extra field is added as the very first extra field of the
 archive, Solaris will consider it an executable jar file. | 
| class  | PKWareExtraHeaderBase class for all PKWare strong crypto extra headers. | 
| class  | ResourceAlignmentExtraFieldAn extra field who's sole purpose is to align and pad the local file header
 so that the entry's data starts at a certain position. | 
| class  | UnicodeCommentExtraFieldInfo-ZIP Unicode Comment Extra Field (0x6375): | 
| class  | UnicodePathExtraFieldInfo-ZIP Unicode Path Extra Field (0x7075): | 
| class  | UnparseableExtraFieldDataWrapper for extra field data that doesn't conform to the recommended format of header-tag + size + data. | 
| class  | UnrecognizedExtraFieldSimple placeholder for all those extra fields we don't want to deal
 with. | 
| class  | X000A_NTFSNTFS extra field that was thought to store various attributes but
 in reality only stores timestamps. | 
| class  | X0014_X509CertificatesPKCS#7 Store for X.509 Certificates (0x0014). | 
| class  | X0015_CertificateIdForFileX.509 Certificate ID and Signature for individual file (0x0015). | 
| class  | X0016_CertificateIdForCentralDirectoryX.509 Certificate ID and Signature for central directory (0x0016). | 
| class  | X0017_StrongEncryptionHeaderStrong Encryption Header (0x0017). | 
| class  | X0019_EncryptionRecipientCertificateListPKCS#7 Encryption Recipient Certificate List (0x0019). | 
| class  | X5455_ExtendedTimestampAn extra field that stores additional file and directory timestamp data
 for zip entries. | 
| class  | X7875_NewUnixAn extra field that stores UNIX UID/GID data (owner & group ownership) for a given
 zip entry. | 
| class  | Zip64ExtendedInformationExtraFieldHolds size and other extended information for entries that use Zip64
 features. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ZipExtraField | ExtraFieldUtils. createExtraField(ZipShort headerId)Create an instance of the appropriate ExtraField, falls back to
  UnrecognizedExtraField. | 
| ZipExtraField | ZipArchiveEntry. getExtraField(ZipShort type)Looks up an extra field by its header id. | 
| ZipExtraField[] | ZipArchiveEntry. getExtraFields()Retrieves all extra fields that have been parsed successfully. | 
| ZipExtraField[] | ZipArchiveEntry. getExtraFields(boolean includeUnparseable)Retrieves extra fields. | 
| static ZipExtraField[] | ExtraFieldUtils. parse(byte[] data)Split the array into ExtraFields and populate them with the
 given data as local file data, throwing an exception if the
 data cannot be parsed. | 
| static ZipExtraField[] | ExtraFieldUtils. parse(byte[] data,
     boolean local)Split the array into ExtraFields and populate them with the
 given data, throwing an exception if the data cannot be parsed. | 
| static ZipExtraField[] | ExtraFieldUtils. parse(byte[] data,
     boolean local,
     ExtraFieldUtils.UnparseableExtraField onUnparseableData)Split the array into ExtraFields and populate them with the
 given data. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ZipArchiveEntry. addAsFirstExtraField(ZipExtraField ze)Adds an extra field - replacing an already present extra field
 of the same type. | 
| void | ZipArchiveEntry. addExtraField(ZipExtraField ze)Adds an extra field - replacing an already present extra field
 of the same type. | 
| static byte[] | ExtraFieldUtils. mergeCentralDirectoryData(ZipExtraField[] data)Merges the central directory fields of the given ZipExtraFields. | 
| static byte[] | ExtraFieldUtils. mergeLocalFileDataData(ZipExtraField[] data)Merges the local file data fields of the given ZipExtraFields. | 
| void | ZipArchiveEntry. setExtraFields(ZipExtraField[] fields)Replaces all currently attached extra fields with the new array. | 
Copyright © 2018 The Apache Software Foundation. All rights reserved.