Uses of Interface
org.apache.commons.compress.archivers.zip.ZipExtraField
-
Packages that use ZipExtraField Package Description org.apache.commons.compress.archivers.zip 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 ZipExtraField Modifier and Type Class Description classAbstractUnicodeExtraFieldA common base class for Unicode extra information extra fields.classAsiExtraFieldAdds Unix file permission and UID/GID fields as well as symbolic link handling.classJarMarkerIf this extra field is added as the very first extra field of the archive, Solaris will consider it an executable jar file.classPKWareExtraHeaderBase class for all PKWare strong crypto extra headers.classResourceAlignmentExtraFieldAn 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.classUnicodeCommentExtraFieldInfo-ZIP Unicode Comment Extra Field (0x6375):classUnicodePathExtraFieldInfo-ZIP Unicode Path Extra Field (0x7075):classUnparseableExtraFieldDataWrapper for extra field data that doesn't conform to the recommended format of header-tag + size + data.classUnrecognizedExtraFieldSimple placeholder for all those extra fields we don't want to deal with.classX000A_NTFSNTFS extra field that was thought to store various attributes but in reality only stores timestamps.classX0014_X509CertificatesPKCS#7 Store for X.509 Certificates (0x0014).classX0015_CertificateIdForFileX.509 Certificate ID and Signature for individual file (0x0015).classX0016_CertificateIdForCentralDirectoryX.509 Certificate ID and Signature for central directory (0x0016).classX0017_StrongEncryptionHeaderStrong Encryption Header (0x0017).classX0019_EncryptionRecipientCertificateListPKCS#7 Encryption Recipient Certificate List (0x0019).classX5455_ExtendedTimestampAn extra field that stores additional file and directory timestamp data for zip entries.classX7875_NewUnixAn extra field that stores UNIX UID/GID data (owner & group ownership) for a given zip entry.classZip64ExtendedInformationExtraFieldHolds size and other extended information for entries that use Zip64 features.Fields in org.apache.commons.compress.archivers.zip declared as ZipExtraField Modifier and Type Field Description (package private) static ZipExtraField[]ExtraFieldUtils. EMPTY_ZIP_EXTRA_FIELD_ARRAYprivate ZipExtraField[]ZipArchiveEntry. extraFieldsMethods in org.apache.commons.compress.archivers.zip that return ZipExtraField Modifier and Type Method Description private ZipExtraField[]ZipArchiveEntry. copyOf(ZipExtraField[] src, int length)ZipExtraFieldExtraFieldParsingBehavior. createExtraField(ZipShort headerId)Creates an instance of ZipExtraField for the given id.static ZipExtraFieldExtraFieldUtils. createExtraField(ZipShort headerId)Create an instance of the appropriate ExtraField, falls back toUnrecognizedExtraField.ZipExtraFieldZipArchiveEntry.ExtraFieldParsingMode. createExtraField(ZipShort headerId)static ZipExtraFieldExtraFieldUtils. createExtraFieldNoDefault(ZipShort headerId)Create an instance of the appropriate ExtraField.ZipExtraFieldExtraFieldParsingBehavior. fill(ZipExtraField field, byte[] data, int off, int len, boolean local)Fills in the extra field data for a single extra field.ZipExtraFieldZipArchiveEntry.ExtraFieldParsingMode. fill(ZipExtraField field, byte[] data, int off, int len, boolean local)private static ZipExtraFieldZipArchiveEntry.ExtraFieldParsingMode. fillAndMakeUnrecognizedOnError(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.private ZipExtraFieldZipArchiveEntry. findMatching(ZipShort headerId, java.util.List<ZipExtraField> fs)private ZipExtraFieldZipArchiveEntry. findUnparseable(java.util.List<ZipExtraField> fs)private ZipExtraField[]ZipArchiveEntry. getAllExtraFields()private ZipExtraField[]ZipArchiveEntry. getAllExtraFieldsNoCopy()Get all extra fields, including unparseable ones.ZipExtraFieldZipArchiveEntry. 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.ZipExtraField[]ZipArchiveEntry. getExtraFields(ExtraFieldParsingBehavior parsingBehavior)Retrieves extra fields.private ZipExtraField[]ZipArchiveEntry. getMergedFields()private ZipExtraField[]ZipArchiveEntry. getParseableExtraFields()private ZipExtraField[]ZipArchiveEntry. getParseableExtraFieldsNoCopy()private ZipExtraField[]ZipArchiveEntry. getUnparseableOnly()ZipExtraFieldExtraFieldUtils.UnparseableExtraField. onUnparseableExtraField(byte[] data, int off, int len, boolean local, int claimedLength)ZipExtraFieldUnparseableExtraFieldBehavior. 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.ZipExtraFieldZipArchiveEntry.ExtraFieldParsingMode. onUnparseableExtraField(byte[] data, int off, int len, boolean local, int claimedLength)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, ExtraFieldParsingBehavior parsingBehavior)Split the array into ExtraFields and populate them with the given data.static ZipExtraField[]ExtraFieldUtils. parse(byte[] data, boolean local, ExtraFieldUtils.UnparseableExtraField onUnparseableData)Split the array into ExtraFields and populate them with the given data.Methods in org.apache.commons.compress.archivers.zip with parameters of type ZipExtraField Modifier and Type Method Description voidZipArchiveEntry. 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.private ZipExtraField[]ZipArchiveEntry. copyOf(ZipExtraField[] src, int length)ZipExtraFieldExtraFieldParsingBehavior. fill(ZipExtraField field, byte[] data, int off, int len, boolean local)Fills in the extra field data for a single extra field.ZipExtraFieldZipArchiveEntry.ExtraFieldParsingMode. fill(ZipExtraField field, byte[] data, int off, int len, boolean local)private static ZipExtraFieldZipArchiveEntry.ExtraFieldParsingMode. fillAndMakeUnrecognizedOnError(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.private voidZipArchiveEntry. mergeExtraFields(ZipExtraField[] f, boolean local)If there are no extra fields, use the given fields as new extra data - otherwise merge the fields assuming the existing fields and the new fields stem from different locations inside the archive.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 ZipExtraField Modifier and Type Method Description private ZipExtraFieldZipArchiveEntry. findMatching(ZipShort headerId, java.util.List<ZipExtraField> fs)private ZipExtraFieldZipArchiveEntry. findUnparseable(java.util.List<ZipExtraField> fs)
-