Uses of Interface
org.apache.commons.compress.archivers.zip.ZipExtraField
Packages that use ZipExtraField
Package
Description
Provides stream classes for reading and writing archives using the ZIP format.
-
Uses of ZipExtraField in org.apache.commons.compress.archivers.zip
Classes in org.apache.commons.compress.archivers.zip that implement ZipExtraFieldModifier and TypeClassDescriptionclassA common base class for Unicode extra information extra fields.classAdds UNIX file permission and UID/GID fields as well as symbolic link handling.final classIf this extra field is added as the very first extra field of the archive, Solaris will consider it an executable jar file.classBase class for all PKWare strong crypto extra headers.classAn 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.classInfo-ZIP Unicode Comment Extra Field (0x6375):classInfo-ZIP Unicode Path Extra Field (0x7075):final classWrapper for extra field data that doesn't conform to the recommended format of header-tag + size + data.classSimple placeholder for all those extra fields we don't want to deal with.classNTFS extra field that was thought to store various attributes but in reality only stores timestamps.classPKCS#7 Store for X.509 Certificates (0x0014).classX.509 Certificate ID and Signature for individual file (0x0015).classX.509 Certificate ID and Signature for central directory (0x0016).classStrong Encryption Header (0x0017).classPKCS#7 Encryption Recipient Certificate List (0x0019).classAn extra field that stores additional file and directory timestamp data for ZIP entries.classAn extra field that stores UNIX UID/GID data (owner & group ownership) for a given ZIP entry.classHolds size and other extended information for entries that use Zip64 features.Methods in org.apache.commons.compress.archivers.zip that return ZipExtraFieldModifier and TypeMethodDescriptionExtraFieldParsingBehavior.createExtraField(ZipShort headerId) Creates an instance of ZipExtraField for the given id.static ZipExtraFieldExtraFieldUtils.createExtraField(ZipShort headerId) Creates an instance of the appropriate ExtraField, falls back toUnrecognizedExtraField.ZipArchiveEntry.ExtraFieldParsingMode.createExtraField(ZipShort headerId) static ZipExtraFieldExtraFieldUtils.createExtraFieldNoDefault(ZipShort headerId) Creates an instance of the appropriateZipExtraField.ExtraFieldParsingBehavior.fill(ZipExtraField field, byte[] data, int off, int len, boolean local) Fills in the extra field data for a single extra field.ZipArchiveEntry.ExtraFieldParsingMode.fill(ZipExtraField field, byte[] data, int off, int len, boolean local) static ZipExtraFieldExtraFieldUtils.fillExtraField(ZipExtraField ze, byte[] data, int off, int len, boolean local) Fills in the extra field data into the given instance.ZipArchiveEntry.getExtraField(ZipShort type) Gets an extra field by its header id.ZipArchiveEntry.getExtraFields()Gets all extra fields that have been parsed successfully.ZipArchiveEntry.getExtraFields(boolean includeUnparseable) Gets extra fields.ZipArchiveEntry.getExtraFields(ExtraFieldParsingBehavior parsingBehavior) Gets extra fields.ExtraFieldUtils.UnparseableExtraField.onUnparseableExtraField(byte[] data, int off, int len, boolean local, int claimedLength) UnparseableExtraFieldBehavior.onUnparseableExtraField(byte[] data, int off, int len, boolean local, int claimedLength) Decides what to do with extra field data that doesn't follow the recommended pattern.ZipArchiveEntry.ExtraFieldParsingMode.onUnparseableExtraField(byte[] data, int off, int len, boolean local, int claimedLength) static ZipExtraField[]ExtraFieldUtils.parse(byte[] data) Parses 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) Parses 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, ExtraFieldParsingBehavior parsingBehavior) Parses the array into ExtraFields and populate them with the given data.static ZipExtraField[]ExtraFieldUtils.parse(byte[] data, boolean local, ExtraFieldUtils.UnparseableExtraField onUnparseableData) Parses the array into ExtraFields and populate them with the given data.Methods in org.apache.commons.compress.archivers.zip with parameters of type ZipExtraFieldModifier and TypeMethodDescriptionvoidZipArchiveEntry.addAsFirstExtraField(ZipExtraField ze) Adds an extra field - replacing an already present extra field of the same type.voidZipArchiveEntry.addExtraField(ZipExtraField ze) Adds an extra field - replacing an already present extra field of the same type.ExtraFieldParsingBehavior.fill(ZipExtraField field, byte[] data, int off, int len, boolean local) Fills in the extra field data for a single extra field.ZipArchiveEntry.ExtraFieldParsingMode.fill(ZipExtraField field, byte[] data, int off, int len, boolean local) static ZipExtraFieldExtraFieldUtils.fillExtraField(ZipExtraField ze, byte[] data, int off, int len, boolean local) Fills in the extra field data into the given instance.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.voidZipArchiveEntry.setExtraFields(ZipExtraField[] fields) Replaces all currently attached extra fields with the new array.Method parameters in org.apache.commons.compress.archivers.zip with type arguments of type ZipExtraFieldModifier and TypeMethodDescriptionZipArchiveInputStream.setExtraFieldSupport(Function<ZipShort, ZipExtraField> extraFieldSupport) Currently unused.