Since: API Level 1
package

java.util.zip

Interfaces

ChecksumHolds information about a checksum which was computed with the methods implementing a checksum algorithm. 

Classes

Adler32The Adler-32 class is used to compute the Adler32 checksum from a set of data. 
CheckedInputStreamThe 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. 
CheckedOutputStreamThe CheckedOutputStream class is used to maintain a running checksum of all data written to a stream. 
CRC32The CRC32 class is used to compute a CRC32 checksum from data provided as input value. 
DeflaterThis class compresses data using the DEFLATE algorithm (see specification). 
DeflaterInputStreamAn InputStream filter to compress data. 
DeflaterOutputStreamThis class provides an implementation of FilterOutputStream that compresses data using the DEFLATE algorithm. 
GZIPInputStreamThe GZIPInputStream class is used to read data stored in the GZIP format, reading and decompressing GZIP data from the underlying stream into its buffer. 
GZIPOutputStreamThe GZIPOutputStream class is used to write data to a stream in the GZIP storage format. 
InflaterThis class uncompresses data that was compressed using the DEFLATE algorithm (see specification). 
InflaterInputStreamThis class provides an implementation of FilterInputStream that uncompresses data that was compressed using the DEFLATE algorithm (see specification). 
InflaterOutputStreamAn OutputStream filter to decompress data. 
ZipEntryAn instance of ZipEntry represents an entry within a ZIP-archive
ZipFileThis class provides random read access to a ZIP-archive file. 
ZipInputStreamThis class provides an implementation of FilterInputStream that uncompresses data from a ZIP-archive input stream. 
ZipOutputStreamThis class provides an implementation of FilterOutputStream that compresses data entries into a ZIP-archive output stream. 

Exceptions

DataFormatExceptionDataFormatException is used to indicate an error in the format of a particular data stream which is to be uncompressed. 
ZipExceptionThis runtime exception is thrown by ZipFile and ZipInputStream when the file or stream is not a valid ZIP file. 

Errors

ZipErrorThrown when an unrecoverable ZIP error has occurred.