Package org.apache.commons.compress.archivers.zip
package org.apache.commons.compress.archivers.zip
Provides stream classes for reading and writing archives using the ZIP format.
-
ClassDescriptionA common base class for Unicode extra information extra fields.Adds UNIX file permission and UID/GID fields as well as symbolic link handling.An interface added to allow access to the character set associated with an
NioZipEncoding
, without requiring a new method to be added toZipEncoding
.ImplementsScatterGatherBackingStoreSupplier
using a temporary folder.Controls details of parsing ZIP extra fields.ZipExtraField
related methods."enum" for the possible actions to take if the extra field cannot be parsed.Parser/encoder for the "general purpose bit" field in ZIP's local file and central directory headers.If this extra field is added as the very first extra field of the archive, Solaris will consider it an executable jar file.Creates a ZIP in parallel by using multiple threadlocalScatterZipOutputStream
instances.Base class for all PKWare strong crypto extra headers.Encryption algorithm.Hash AlgorithmAn 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.Provides information about a scatter compression run.A ZIP output stream that is optimized for multi-threaded scatter/gather construction of ZIP files.Encapsulates aDeflater
and crc calculator, handling multiple types of output streams.Info-ZIP Unicode Comment Extra Field (0x6375):Info-ZIP Unicode Path Extra Field (0x7075):Constants from stat.h on UNIX systems.Handles extra field data that doesn't follow the recommended pattern for extra fields with a two-byte key and a two-byte length.Wrapper for extra field data that doesn't conform to the recommended format of header-tag + size + data.Simple placeholder for all those extra fields we don't want to deal with.Exception thrown when attempting to read or write data for a ZIP entry that uses ZIP features not supported by this library.ZIP Features that may or may not be supported.NTFS extra field that was thought to store various attributes but in reality only stores timestamps.PKCS#7 Store for X.509 Certificates (0x0014).X.509 Certificate ID and Signature for individual file (0x0015).X.509 Certificate ID and Signature for central directory (0x0016).Strong Encryption Header (0x0017).PKCS#7 Encryption Recipient Certificate List (0x0019).An extra field that stores additional file and directory timestamp data for ZIP entries.An extra field that stores UNIX UID/GID data (owner & group ownership) for a given ZIP entry.Holds size and other extended information for entries that use Zip64 features.The different modesZipArchiveOutputStream
can operate in.Extension that adds better handling of extra fields and provides access to the internal and external file attributes.Indicates how the comment of this entry has been determined.How to try to parse the extra fields.Indicates how the name of this entry has been determined.A predicate to test if a #ZipArchiveEntry matches a criteria.A Thread-safe representation of a ZipArchiveEntry that is used to add entries to parallel archives.SuppliesZipArchiveEntryRequest
.Implements an input stream that can read Zip archives.Reimplementation ofjava.util.zip.ZipOutputStream
to 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.enum that represents the possible policies for creating Unicode extra fields.Utility class that represents an eight byte integer with conversion rules for the little-endian byte order of ZIP files.An interface for encoders that do a pretty encoding of ZIP file names.Static helper functions for robustly encoding file names in ZIP files.General format of extra field data.Replacement forZipFile
.Builds newZipFile
instances.Utility class that represents a four byte integer with conversion rules for the little-endian byte order of ZIP files.List of known compression methods Many of these methods are currently not supported by commons compressUtility class that represents a two byte integer with conversion rules for the little-endian byte order of ZIP files.MultiReadOnlySeekableByteChannel
that knows what a split ZIP archive should look like.Utility class for handling DOS and Java time conversions.