java.util.zip - JRE Emulation | JRE Emulation
package

java.util.zip

Provides classes for reading and writing the standard ZIP and GZIP file formats. Also includes classes for compressing and decompressing data using the DEFLATE compression algorithm, which is used by the ZIP and GZIP file formats. Additionally, there are utility classes for computing the CRC-32 and Adler-32 checksums of arbitrary input streams.

Package Specification

Interfaces

Checksum The interface common to checksum classes such as Adler32 and CRC32

Classes

Adler32 The Adler-32 class is used to compute the Adler32 checksum from a set of data. 
CheckedInputStream The CheckedInputStream class is used to maintain a checksum at the same time as the data, on which the checksum is computed, is read from a stream. 
CheckedOutputStream The CheckedOutputStream class is used to maintain a running checksum of all data written to a stream. 
CRC32 The CRC32 class is used to compute a CRC32 checksum from data provided as input value. 
Deflater This class compresses data using the DEFLATE algorithm (see specification). 
DeflaterInputStream An InputStream filter to compress data. 
DeflaterOutputStream This class provides an implementation of FilterOutputStream that compresses data using the DEFLATE algorithm. 
GZIPInputStream The GZIPInputStream class is used to read data stored in the GZIP format, reading and decompressing GZIP data from the underlying stream into its buffer. 
GZIPOutputStream The GZIPOutputStream class is used to write data to a stream in the GZIP storage format. 
Inflater This class decompresses data that was compressed using the DEFLATE algorithm (see specification). 
InflaterInputStream This class provides an implementation of FilterInputStream that decompresses data that was compressed using the DEFLATE algorithm (see specification). 
InflaterOutputStream An OutputStream filter to decompress data. 
ZipEntry An entry within a zip file. 
ZipFile This class provides random read access to a zip file. 
ZipInputStream Used to read (decompress) the data from zip files. 
ZipOutputStream Used to write (compress) data into zip files. 

Exceptions

DataFormatException Signals that a data format error has occurred. 
ZipException Signals that a Zip exception of some sort has occurred. 

Errors

ZipError Signals that an unrecoverable error has occurred.