| Package | Description | 
|---|---|
| java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP
file formats. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | Adler32A class that can be used to compute the Adler-32 checksum of a data
 stream. | |
| class  | CRC32A class that can be used to compute the CRC-32 of a data stream. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Checksum | CheckedOutputStream. getChecksum()Returns the Checksum for this output stream. | |
| Checksum | CheckedInputStream. getChecksum()Returns the Checksum for this input stream. | 
| Constructor | Description | 
|---|---|
| CheckedInputStream(InputStream in,
                  Checksum cksum)Creates an input stream using the specified Checksum. | |
| CheckedOutputStream(OutputStream out,
                   Checksum cksum)Creates an output stream with the specified Checksum. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.