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 - CheckedOutputStream
java.util.zip - CheckedOutputStream Class
Introduction
The java.util.zip.CheckedOutputStream class is an output stream that also maintains a checksum of the data being written. The checksum can then be used to verify the integrity of the output data.
Class declaration
Following is the declaration for java.util.zip.CheckedOutputStream class −
pubpc class CheckedOutputStream extends FilterOutputStream
Constructors
Sr.No. | Constructor & Description |
---|---|
1 | CheckedOutputStream(OutputStream out, Checksum cksum) Creates an output stream with the specified Checksum. |
Class methods
Sr.No. | Method & Description |
---|---|
1 | Returns the Checksum for this output stream. |
2 | Writes an array of bytes. |
3 | Writes a byte. |
Methods inherited
This class inherits methods from the following classes −
java.io.FilterOutputStream
java.lang.Object