Module kala.compress.archivers.zip
Package kala.compress.archivers.zip
Provides stream classes for reading and writing archives using the ZIP format.
-
Interface Summary Interface Description ExtraFieldParsingBehavior Controls details of parsing ZIP extra fields.UnixStat Constants from stat.h on UNIX systems.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.ZipArchiveEntryPredicate A predicate to test if a #ZipArchiveEntry matches a criteria.ZipArchiveEntryRequestSupplier SuppliesZipArchiveEntryRequest.ZipExtraField General format of extra field data. -
Class Summary Class Description AbstractUnicodeExtraField A common base class for Unicode extra information extra fields.AsiExtraField Adds UNIX file permission and UID/GID fields as well as symbolic link handling.BinaryTree Binary tree of positive values.BitStream Iterates over the bits of an InputStream.CircularBuffer Circular byte buffer.DefaultBackingStoreSupplier ImplementsScatterGatherBackingStoreSupplierusing a temporary folder.ExplodingInputStream The implode compression method was added to PKZIP 1.01 released in 1989.ExtraFieldUtils ZipExtraFieldrelated methods.ExtraFieldUtils.UnparseableExtraField "enum" for the possible actions to take if the extra field cannot be parsed.FileRandomAccessOutputStream RandomAccessOutputStreamimplementation based on a file.GeneralPurposeBit Parser/encoder for the "general purpose bit" field in ZIP's local file and central directory headers.InflaterInputStreamWithStatistics Helper class to provide statisticsJarMarker If this extra field is added as the very first extra field of the archive, Solaris will consider it an executable jar file.ParallelScatterZipCreator Creates a ZIP in parallel by using multiple threadlocalScatterZipOutputStreaminstances.PKWareExtraHeader Base class for all PKWare strong crypto extra headers.RandomAccessOutputStream Abstraction over OutputStream which also allows random access writes.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.ScatterStatistics Provides information about a scatter compression run.ScatterZipOutputStream A ZIP output stream that is optimized for multi-threaded scatter/gather construction of ZIP files.ScatterZipOutputStream.CompressedEntry ScatterZipOutputStream.ZipEntryWriter SeekableChannelRandomAccessOutputStream RandomAccessOutputStreamimplementation for SeekableByteChannel.StreamCompressor Encapsulates aDeflaterand crc calculator, handling multiple types of output streams.StreamCompressor.DataOutputCompressor StreamCompressor.OutputStreamCompressor StreamCompressor.ScatterGatherBackingStoreCompressor StreamCompressor.SeekableByteChannelCompressor UnicodeCommentExtraField Info-ZIP Unicode Comment Extra Field (0x6375):UnicodePathExtraField Info-ZIP Unicode Path Extra Field (0x7075):UnparseableExtraFieldData Wrapper for extra field data that doesn't conform to the recommended format of header-tag + size + data.UnrecognizedExtraField Simple placeholder for all those extra fields we don't want to deal with.UnshrinkingInputStream Input stream that decompresses ZIP method 1 (unshrinking).UnsupportedZipFeatureException.Feature ZIP Features that may or may not be supported.X000A_NTFS NTFS extra field that was thought to store various attributes but in reality only stores timestamps.X0014_X509Certificates PKCS#7 Store for X.509 Certificates (0x0014).X0015_CertificateIdForFile X.509 Certificate ID and Signature for individual file (0x0015).X0016_CertificateIdForCentralDirectory X.509 Certificate ID and Signature for central directory (0x0016).X0017_StrongEncryptionHeader Strong Encryption Header (0x0017).X0019_EncryptionRecipientCertificateList PKCS#7 Encryption Recipient Certificate List (0x0019).X5455_ExtendedTimestamp An extra field that stores additional file and directory timestamp data for ZIP entries.X7875_NewUnix An extra field that stores UNIX UID/GID data (owner & group ownership) for a given ZIP entry.Zip64ExtendedInformationExtraField Holds size and other extended information for entries that use Zip64 features.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.ZipArchiveInputStream Implements an input stream that can read Zip archives.ZipArchiveInputStream.CurrentEntry Structure collecting information for the entry that is currently being read.ZipArchiveOutputStream Reimplementation ofjava.util.zip.ZipOutputStreamto 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.CurrentEntry Structure collecting information for the entry that is currently being written.ZipArchiveOutputStream.EntryMetaData ZipArchiveOutputStream.UnicodeExtraFieldPolicy enum that represents the possible policies for creating Unicode extra fields.ZipArchiver ZipArchiveReader Replacement forZipFile.ZipArchiveReader.BoundedFileChannelInputStream Lock-free implementation of BoundedInputStream.ZipArchiveReader.Builder Builds newZipArchiveReaderinstances.ZipArchiveReader.Entry Extends ZipArchiveEntry to store the offset within the archive.ZipArchiveReader.NameAndComment ZipArchiveReader.StoredStatisticsStream ZipConstants Various constants used throughout the package.ZipEightByteInteger Utility class that represents an eight byte integer with conversion rules for the little-endian byte order of ZIP files.ZipIoUtil IO utilities for Zip operations.ZipLong Utility class that represents a four byte integer with conversion rules for the little-endian byte order of ZIP files.ZipShort Utility class that represents a two byte integer with conversion rules for the little-endian byte order of ZIP files.ZipSplitOutputStream Used internally byZipArchiveOutputStreamwhen creating a split archive.ZipSplitReadOnlySeekableByteChannel MultiReadOnlySeekableByteChannelthat knows what a split ZIP archive should look like.ZipSplitReadOnlySeekableByteChannel.ZipSplitSegmentComparator ZipUtil Utility class for handling DOS and Java time conversions. -
Enum Summary Enum Description PKWareExtraHeader.EncryptionAlgorithm Encryption algorithm.PKWareExtraHeader.HashAlgorithm Hash AlgorithmZip64Mode The different modesZipArchiveOutputStreamcan operate in.ZipArchiveEntry.CommentSource Indicates how the comment of this entry has been determined.ZipArchiveEntry.ExtraFieldParsingMode How to try to parse the extra fields.ZipArchiveEntry.NameSource Indicates how the name of this entry has been determined.ZipMethod List of known compression methods Many of these methods are currently not supported by commons compress -
Exception Summary Exception Description UnsupportedZipFeatureException Exception thrown when attempting to read or write data for a ZIP entry that uses ZIP features not supported by this library.Zip64RequiredException