Package org.readium.r2.shared.util.zip.compress.archivers.zip
See: Description
-
Class Summary Class Description StreamCompressor Encapsulates a Deflater and crc calculator, handling multiple types of output streams. ZipShort Utility class that represents a two byte integer with conversion rules for the little endian byte order of ZIP files. Zip64RequiredException Exception thrown when attempting to write data that requires Zip64 support to an archive and UseZip64 has been set to Never. ZipEntryWriter ScatterZipOutputStream A zip output stream that is optimized for multi-threaded scatter/gather construction of zip files. ZipEightByteInteger Utility class that represents an eight byte integer with conversion rules for the little endian byte order of ZIP files. UnparseableExtraFieldData Wrapper for extra field data that doesn't conform to the recommended format of header-tag + size + data. UnicodeCommentExtraField Info-ZIP Unicode Comment Extra Field (0x6375): Stores the UTF-8 version of the file comment as stored in the central directory header. ZipFile Replacement for {@code java.util.ZipFile}.UnparseableExtraField "enum" for the possible actions to take if the extra fieldcannot be parsed. ExtraFieldUtils ZipExtraField related methods AbstractUnicodeExtraField A common base class for Unicode extra information extra fields. GeneralPurposeBit Parser/encoder for the "general purpose bit" field in ZIP's local file and central directory headers. ScatterStatistics Provides information about a scatter compression run. ZipLong Utility class that represents a four byte integer with conversion rules for the little endian byte order of ZIP files. UnicodeExtraFieldPolicy enum that represents the possible policies for creating Unicodeextra fields. ZipArchiveOutputStream Reimplementation of java.util.zip.ZipOutputStream that 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. ZipSplitReadOnlySeekableByteChannel MultiReadOnlySeekableByteChannel that knows what a split ZIP archive should look like. ZipArchiveEntry Extension that adds better handling of extra fields and provides access to the internal and external file attributes. ZipArchiveEntryRequest A Thread-safe representation of a ZipArchiveEntry that is used to add entries to parallel archives. UnrecognizedExtraField Simple placeholder for all those extra fields we don't want to deal with. ZipEncodingHelper Static helper functions for robustly encoding file names in zip files. ZipUtil Utility class for handling DOS and Java time conversions. Feature ZIP Features that may or may not be supported. UnsupportedZipFeatureException Exception thrown when attempting to read or write data for a zip entry that uses ZIP features not supported by this library. UnicodePathExtraField Info-ZIP Unicode Path Extra Field (0x7075): Stores the UTF-8 version of the file name field as stored in the local header and central directory header. Zip64ExtendedInformationExtraField Holds size and other extended information for entries that use Zip64 features. ResourceAlignmentExtraField An 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. -
Interface Summary Interface Description ExtraFieldParsingBehavior Controls details of parsing zip extra fields. ZipEncoding An interface for encoders that do a pretty encoding of ZIP file names. ZipExtraField General format of extra field data. UnparseableExtraFieldBehavior Handles extra field data that doesn't follow the recommended pattern for extra fields with a two-byte key and a two-byte length. UnixStat Constants from stat.h on Unix systems. ZipArchiveEntryPredicate A predicate to test if a #ZipArchiveEntry matches a criteria. CharsetAccessor An interface added to allow access to the character set associated with an NioZipEncoding, without requiring a new method to be added to ZipEncoding. -
Enum Summary Enum Description ZipMethod List of known compression methods Many of these methods are currently not supported by commons compress CommentSource Indicates how the comment of this entry has been determined. ExtraFieldParsingMode How to try to parse the extra fields. NameSource Indicates how the name of this entry has been determined. Zip64Mode The different modes ZipArchiveOutputStream can operate in.