java.util.zip for reading and writing ZIP files.See: Description
| Interface | Description |
|---|---|
| Constants |
A package private interface with some constants for ZIP files.
|
| OutputMethod |
A method for writing a ZIP entry.
|
| WinZipAesParameters |
The parameters of this interface are used with WinZip AES encrypted entries.
|
| ZipCharsetParameters |
Defines the default character set for accessing ZIP files.
|
| ZipCryptoParameters |
A marker interface for ZIP crypto parameters.
|
| ZipEntryFactory<E extends ZipEntry> |
A factory for
ZipEntrys. |
| ZipFileParameters<E extends ZipEntry> |
Provides parameters for reading ZIP files.
|
| ZipOutputStreamParameters |
An interface for
ZipOutputStream parameters. |
| ZipParameters |
A marker interface for ZIP parameters.
|
| ZipParametersProvider |
A provider of
ZipParameters for a given type. |
| Class | Description |
|---|---|
| CountingInputStream |
A decorating input stream which counts the number of bytes read.
|
| Crc32CheckingInputStream |
Compares the CRC computed from the content to the CRC in the ZIP entry
and throws a CRC32Exception if it detects a mismatch in its method
Crc32CheckingInputStream.close(). |
| Crc32OutputStream |
An output stream which updates a CRC-32 checksum.
|
| DecoratingOutputMethod |
A decorator for output methods.
|
| DefaultExtraField |
Default implementation for an Extra Field in a Local or Central Header of a
ZIP file.
|
| DefaultZipCharsetParameters |
Default implementation of
ZipCharsetParameters. |
| DefaultZipFileParameters |
The default implementation of
ZipFileParameters. |
| DefaultZipOutputStreamParameters |
Default implementation of
ZipOutputStreamParameters. |
| DummyByteInputStream |
A read only file input stream which adds a dummy zero byte to the end of
the input in order to support
ZipInflaterInputStream. |
| ExtraField |
Abstract base class for an Extra Field in a Local or Central Header of a
ZIP archive.
|
| ExtraFields |
Represents a collection of
Extra Fields as they may
be present at several locations in ZIP files. |
| IrregularOffsetMapper |
Adds a start value to the given offset.
|
| Jdk6Deflater |
Fixes 32 bit field size in JDK 6 implementation of
Deflater. |
| Jdk6Inflater |
Fixes 32 bit field size in JDK 6 implementation of
Inflater. |
| LittleEndian |
Provides static utility methods for reading and writing integer values in
little endian format from or to byte arrays.
|
| OffsetMapper |
Maps a given offset to a file pointer position.
|
| RawZipFile<E extends ZipEntry> |
Provides unsafe (raw) access to a ZIP file using unsynchronized methods and
shared
ZipEntry instances. |
| RawZipFile.SafeBufferedReadOnlyFile |
A buffered read only file which is safe for use with a concurrently
growing file, e.g. when another thread is appending to it.
|
| RawZipOutputStream<E extends ZipEntry> |
Provides unsafe (raw) access to a ZIP file using unsynchronized
methods and shared
ZipEntry instances. |
| RawZipOutputStream.AppendingLEDataOutputStream |
Adjusts the number of written bytes in the offset for appending mode.
|
| SingleReadOnlyFilePool |
A pool with a single read only file provided to its constructor.
|
| UByte |
Provides constants and static utility methods for unsigned byte integer
values (8 bits).
|
| UInt |
Provides constants and static utility methods for unsigned integer
values (32 bits).
|
| ULong |
Provides constants and static utility methods for unsigned long integer
values (63 bits).
|
| UShort |
Provides constants and static utility methods for unsigned short integer
values (16 bits).
|
| WinZipAesCipher |
Implements Counter (CTR) mode (alias Segmented Integer Counter - SIC)
on top of an AES engine.
|
| WinZipAesEntryExtraField |
WinZip AES Extra Field.
|
| WinZipAesEntryOutputStream |
Encrypts ZIP entry contents according the WinZip AES specification.
|
| WinZipAesEntryParameters |
The parameters of this interface are used with WinZip AES encrypted entries.
|
| WinZipAesEntryReadOnlyFile |
Decrypts ZIP entry contents according the WinZip AES specification.
|
| WinZipAesUtils |
Static utility methods for WinZip AES encryption.
|
| ZipDeflaterOutputStream |
A deflater output stream which uses a custom
Deflater and provides
access to it. |
| ZipDeflaterOutputStream.DeflaterFactory |
A factory for
Deflater objects. |
| ZipDeflaterOutputStream.Jdk6DeflaterFactory |
A factory for
Jdk6Deflater objects. |
| ZipEntry |
Drop-in replacement for
java.util.zip.ZipEntry. |
| ZipFile |
Drop-in replacement for
java.util.zip.ZipFile. |
| ZipFile.DefaultReadOnlyFilePool |
A pool which allocates
DefaultReadOnlyFile objects for the
file provided to its constructor. |
| ZipInflaterInputStream |
An inflater input stream which uses a custom
Inflater and provides
access to it. |
| ZipInflaterInputStream.InflaterFactory |
A factory for
Inflater objects. |
| ZipInflaterInputStream.Jdk6InflaterFactory |
A factory for
Jdk6Inflater objects. |
| ZipOutputStream |
Drop-in replacement for
java.util.zip.ZipOutputStream. |
| ZipParametersUtils |
Provides static utility methods for ZIP parameters.
|
| Enum | Description |
|---|---|
| DateTimeConverter |
Converts Java time values to DOS date/time values and vice versa.
|
| Exception | Description |
|---|---|
| CRC32Exception |
Thrown to indicate a CRC-32 mismatch between the declared value in the
Central File Header and the Data Descriptor or between the declared value
and the computed value from the decompressed data.
|
| ZipAuthenticationException |
Thrown to indicate that an authenticated ZIP entry has been tampered with.
|
| ZipCryptoException |
Thrown if there is an issue when reading or writing an encrypted ZIP file
or entry.
|
| ZipKeyException |
Thrown to indicate that retrieving a key to encrypt or decrypt or
authenticate a ZIP entry has failed for some reason.
|
| ZipParametersException |
Thrown to indicate that no suitable ZIP parameters have been provided
or something is wrong with these parameters.
|
A drop-in replacement for the classes in the package
java.util.zip for reading and writing ZIP files.
The classes in this package read and write ZIP files according to a subset of PKWARE's ZIP File Format Specification , Version 6.3.2 from September 28, 2007. The subset has been selected in order to achieve the following objectives:
java.util.zip of Sun's Java SE 7
implementation.
appending
to an existing ZIP file.
recovering
lost entries when reading a ZIP File.
reading
and
writing
encrypted or authenticated ZIP entries.
Currently, only the
WinZip AES Specification
is supported.
You need to implement the interface
WinZipAesParameters
and inject it for reading
and writing to the
ZipFile.setCryptoParameters(ZipCryptoParameters)
and
ZipOutputStream.setCryptoParameters(ZipCryptoParameters)
classes.
reading
and
writing
BZIP2 compressed ZIP entries.
reading
and
writing
external file attributes.
Long.MAX_VALUE.
Integer.MAX_VALUE.
ZipFile supports
reading archive data from the random access read only
interface ReadOnlyFile,
which allows to read archive data from composite data sources
like e.g. RAES encrypted ZIP files directly without the need
to decrypt them to a temporary file first.
Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.