Stay organized with collections
Save and categorize content based on your preferences.
java.util.zip
Interfaces
Checksum |
An interface representing a data checksum.
|
Classes
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.
|
CRC32C |
A class that can be used to compute the CRC-32C 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.
|
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# java.util.zip\n=============\n\nInterfaces\n----------\n\n|------------------------------------------------------|--------------------------------------------|\n| [Checksum](/reference/kotlin/java/util/zip/Checksum) | An interface representing a data checksum. |\n\nClasses\n-------\n\n|------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|\n| [Adler32](/reference/kotlin/java/util/zip/Adler32) | A class that can be used to compute the Adler-32 checksum of a data stream. |\n| [CheckedInputStream](/reference/kotlin/java/util/zip/CheckedInputStream) | An input stream that also maintains a checksum of the data being read. |\n| [CheckedOutputStream](/reference/kotlin/java/util/zip/CheckedOutputStream) | An output stream that also maintains a checksum of the data being written. |\n| [CRC32](/reference/kotlin/java/util/zip/CRC32) | A class that can be used to compute the CRC-32 of a data stream. |\n| [CRC32C](/reference/kotlin/java/util/zip/CRC32C) | A class that can be used to compute the CRC-32C of a data stream. |\n| [Deflater](/reference/kotlin/java/util/zip/Deflater) | This class provides support for general purpose compression using the popular ZLIB compression library. |\n| [DeflaterInputStream](/reference/kotlin/java/util/zip/DeflaterInputStream) | Implements an input stream filter for compressing data in the \"deflate\" compression format. |\n| [DeflaterOutputStream](/reference/kotlin/java/util/zip/DeflaterOutputStream) | This class implements an output stream filter for compressing data in the \"deflate\" compression format. |\n| [GZIPInputStream](/reference/kotlin/java/util/zip/GZIPInputStream) | This class implements a stream filter for reading compressed data in the GZIP file format. |\n| [GZIPOutputStream](/reference/kotlin/java/util/zip/GZIPOutputStream) | This class implements a stream filter for writing compressed data in the GZIP file format. |\n| [Inflater](/reference/kotlin/java/util/zip/Inflater) | This class provides support for general purpose decompression using the popular ZLIB compression library. |\n| [InflaterInputStream](/reference/kotlin/java/util/zip/InflaterInputStream) | This class implements a stream filter for uncompressing data in the \"deflate\" compression format. |\n| [InflaterOutputStream](/reference/kotlin/java/util/zip/InflaterOutputStream) | Implements an output stream filter for uncompressing data stored in the \"deflate\" compression format. |\n| [ZipEntry](/reference/kotlin/java/util/zip/ZipEntry) | This class is used to represent a ZIP file entry. |\n| [ZipFile](/reference/kotlin/java/util/zip/ZipFile) | This class is used to read entries from a zip file. |\n| [ZipInputStream](/reference/kotlin/java/util/zip/ZipInputStream) | This class implements an input stream filter for reading files in the ZIP file format. |\n| [ZipOutputStream](/reference/kotlin/java/util/zip/ZipOutputStream) | This class implements an output stream filter for writing files in the ZIP file format. |\n\nExceptions\n----------\n\n|----------------------------------------------------------------------------|---------------------------------------------------------|\n| [DataFormatException](/reference/kotlin/java/util/zip/DataFormatException) | Signals that a data format error has occurred. |\n| [ZipError](/reference/kotlin/java/util/zip/ZipError) | Signals that an unrecoverable error has occurred. |\n| [ZipException](/reference/kotlin/java/util/zip/ZipException) | Signals that a Zip exception of some sort has occurred. |"]]