java.util.zip Package Classes
java.util.zip Package Extras
Selected Reading
- java.util.zip - ZipOutputStream
- java.util.zip - ZipInputStream
- java.util.zip - ZipFile
- java.util.zip - ZipEntry
- java.util.zip - InflaterOutputStream
- java.util.zip - InflaterInputStream
- java.util.zip - Inflater
- java.util.zip - GZIPOutputStream
- java.util.zip - GZIPInputStream
- java.util.zip - DeflaterOutputStream
- java.util.zip - DeflaterInputStream
- java.util.zip - Deflater
- java.util.zip - CRC32
- java.util.zip - CheckedOutputStream
- java.util.zip - CheckedInputStream
- java.util.zip - Adler32
- java.util.zip - Home
java.util.zip Package Extras
- java.util.zip - Discussion
- java.util.zip - Useful Resources
- java.util.zip - Quick Guide
- java.util.zip - Error
- java.util.zip - Exceptions
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
java.util.zip - CheckedInputStream
java.util.zip - CheckedInputStream Class
Introduction
The java.util.zip.CheckedInputStream class is an input stream that also maintains a checksum of the data being read. The checksum can then be used to verify the integrity of the input data.
Class declaration
Following is the declaration for java.util.zip.CheckedInputStream class −
pubpc class CheckedInputStream extends FilterInputStream
Constructors
Sr.No. | Constructor & Description |
---|---|
1 | CheckedInputStream(InputStream in, Checksum cksum) Creates an input stream using the specified Checksum. |
Class methods
Sr.No. | Method & Description |
---|---|
1 | Returns the Checksum for this input stream. |
2 | Reads a byte. |
3 | Reads into an array of bytes. |
4 | Skips specified number of bytes of input. |
Methods inherited
This class inherits methods from the following classes −
java.io.FilterInputStream
java.lang.Object