Package java.util.zip

Provides classes for reading and writing the standard ZIP and GZIP file formats.

See: Description

  • Interface Summary 
    Interface Description
    Checksum
    An interface representing a data checksum.

      

  • Class Summary 
    Class Description
    Adler32
    A class that can be used to compute the Adler-32 checksum of a data stream.
    CheckedInputStream
    An input stream that also maintains a checksum of the data being read.
    CheckedOutputStream
    An output stream that also maintains a checksum of the data being written.
    CRC32
    A class that can be used to compute the CRC-32 of a data stream.
    Deflater
    This class provides support for general purpose compression using the popular ZLIB compression library.
    DeflaterInputStream
    Implements an input stream filter for compressing data in the "deflate" compression format.
    DeflaterOutputStream
    This class implements an output stream filter for compressing data in the "deflate" compression format.
    GZIPInputStream
    This class implements a stream filter for reading compressed data in the GZIP file format.
    GZIPOutputStream
    This class implements a stream filter for writing compressed data in the GZIP file format.
    Inflater
    This class provides support for general purpose decompression using the popular ZLIB compression library.
    InflaterInputStream
    This class implements a stream filter for uncompressing data in the "deflate" compression format.
    InflaterOutputStream
    Implements an output stream filter for uncompressing data stored in the "deflate" compression format.
    ZipEntry
    This class is used to represent a ZIP file entry.
    ZipFile
    This class is used to read entries from a zip file.
    ZipInputStream
    This class implements an input stream filter for reading files in the ZIP file format.
    ZipOutputStream
    This class implements an output stream filter for writing files in the ZIP file format.

      

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

      

  • Error Summary 
    Error Description
    ZipError
    Signals that an unrecoverable error has occurred.

      

Package java.util.zip Description

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

Since:
JDK1.1

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/util/zip/package-summary.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut