Provides stream classes for reading and writing archives using the ZIP format.
Interface Summary Interface Description CharsetAccessorAn interface added to allow access to the character set associated with an
NioZipEncoding, without requiring a new method to be added to
ExtraFieldParsingBehaviorControls details of parsing zip extra fields. UnixStatConstants from stat.h on Unix systems. UnparseableExtraFieldBehaviorHandles extra field data that doesn't follow the recommended pattern for extra fields with a two-byte key and a two-byte length. ZipArchiveEntryPredicateA predicate to test if a #ZipArchiveEntry matches a criteria. ZipArchiveEntryRequestSupplierSupplies
ZipEncodingAn interface for encoders that do a pretty encoding of ZIP file names. ZipExtraFieldGeneral format of extra field data.
Class Summary Class Description AbstractUnicodeExtraFieldA common base class for Unicode extra information extra fields. AsiExtraFieldAdds Unix file permission and UID/GID fields as well as symbolic link handling. ExtraFieldUtilsZipExtraField related methods ExtraFieldUtils.UnparseableExtraField"enum" for the possible actions to take if the extra field cannot be parsed. GeneralPurposeBitParser/encoder for the "general purpose bit" field in ZIP's local file and central directory headers. JarMarkerIf this extra field is added as the very first extra field of the archive, Solaris will consider it an executable jar file. ParallelScatterZipCreatorCreates a zip in parallel by using multiple threadlocal
PKWareExtraHeaderBase class for all PKWare strong crypto extra headers. 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. ScatterStatisticsProvides information about a scatter compression run. ScatterZipOutputStreamA zip output stream that is optimized for multi-threaded scatter/gather construction of zip files. ScatterZipOutputStream.ZipEntryWriter StreamCompressorEncapsulates a
Deflaterand crc calculator, handling multiple types of output streams.
UnicodeCommentExtraFieldInfo-ZIP Unicode Comment Extra Field (0x6375): UnicodePathExtraFieldInfo-ZIP Unicode Path Extra Field (0x7075): UnparseableExtraFieldDataWrapper for extra field data that doesn't conform to the recommended format of header-tag + size + data. UnrecognizedExtraFieldSimple placeholder for all those extra fields we don't want to deal with. UnsupportedZipFeatureException.FeatureZIP Features that may or may not be supported. X000A_NTFSNTFS extra field that was thought to store various attributes but in reality only stores timestamps. X0014_X509CertificatesPKCS#7 Store for X.509 Certificates (0x0014). X0015_CertificateIdForFileX.509 Certificate ID and Signature for individual file (0x0015). X0016_CertificateIdForCentralDirectoryX.509 Certificate ID and Signature for central directory (0x0016). X0017_StrongEncryptionHeaderStrong Encryption Header (0x0017). X0019_EncryptionRecipientCertificateListPKCS#7 Encryption Recipient Certificate List (0x0019). X5455_ExtendedTimestampAn extra field that stores additional file and directory timestamp data for zip entries. X7875_NewUnixAn extra field that stores UNIX UID/GID data (owner & group ownership) for a given zip entry. Zip64ExtendedInformationExtraFieldHolds size and other extended information for entries that use Zip64 features. ZipArchiveEntryExtension that adds better handling of extra fields and provides access to the internal and external file attributes. ZipArchiveEntryRequestA Thread-safe representation of a ZipArchiveEntry that is used to add entries to parallel archives. ZipArchiveInputStreamImplements an input stream that can read Zip archives. ZipArchiveOutputStreamReimplementation of
java.util.zip.ZipOutputStreamthat does handle the extended functionality of this package, especially internal/external file attributes and extra fields with different layouts for local file data and central directory entries.
ZipArchiveOutputStream.UnicodeExtraFieldPolicyenum that represents the possible policies for creating Unicode extra fields. ZipEightByteIntegerUtility class that represents an eight byte integer with conversion rules for the little endian byte order of ZIP files. ZipEncodingHelperStatic helper functions for robustly encoding file names in zip files. ZipFileReplacement for
ZipLongUtility class that represents a four byte integer with conversion rules for the little endian byte order of ZIP files. ZipShortUtility class that represents a two byte integer with conversion rules for the little endian byte order of ZIP files. ZipSplitReadOnlySeekableByteChannel
MultiReadOnlySeekableByteChannelthat knows what a split ZIP archive should look like.
ZipUtilUtility class for handling DOS and Java time conversions.
Enum Summary Enum Description PKWareExtraHeader.EncryptionAlgorithmEncryption algorithm. PKWareExtraHeader.HashAlgorithmHash Algorithm Zip64ModeThe different modes
ZipArchiveOutputStreamcan operate in.
ZipArchiveEntry.CommentSourceIndicates how the comment of this entry has been determined. ZipArchiveEntry.ExtraFieldParsingModeHow to try to parse the extra fields. ZipArchiveEntry.NameSourceIndicates how the name of this entry has been determined. ZipMethodList of known compression methods Many of these methods are currently not supported by commons compress
Exception Summary Exception Description UnsupportedZipFeatureExceptionException thrown when attempting to read or write data for a zip entry that uses ZIP features not supported by this library. Zip64RequiredException