Module java.base

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, CRC-32C and Adler-32 checksums of arbitrary input streams.

Package Specification

Since:
1.1
  • Interface Summary
    Interface
    Description
    An interface representing a data checksum.
  • Class Summary
    Class
    Description
    A class that can be used to compute the Adler-32 checksum of a data stream.
    An input stream that also maintains a checksum of the data being read.
    An output stream that also maintains a checksum of the data being written.
    A class that can be used to compute the CRC-32 of a data stream.
    A class that can be used to compute the CRC-32C of a data stream.
    This class provides support for general purpose compression using the popular ZLIB compression library.
    Implements an input stream filter for compressing data in the "deflate" compression format.
    This class implements an output stream filter for compressing data in the "deflate" compression format.
    This class implements a stream filter for reading compressed data in the GZIP file format.
    This class implements a stream filter for writing compressed data in the GZIP file format.
    This class provides support for general purpose decompression using the popular ZLIB compression library.
    This class implements a stream filter for uncompressing data in the "deflate" compression format.
    Implements an output stream filter for uncompressing data stored in the "deflate" compression format.
    This class is used to represent a ZIP file entry.
    This class is used to read entries from a zip file.
    This class implements an input stream filter for reading files in the ZIP file format.
    This class implements an output stream filter for writing files in the ZIP file format.
  • Exception Summary
    Exception
    Description
    Signals that a data format error has occurred.
    Signals that a Zip exception of some sort has occurred.
  • Error Summary
    Error
    Description
    Signals that an unrecoverable error has occurred.