Category: 18. Java Zip
-
Errors
Introduction The java.util.zip Error contains the error which can occur during zip/unzip operations. Interface Summary Sr.No. Error & Description 1 ZipErrorSignals that an unrecoverable error has occurred.
-
Exceptions
Introduction The java.util.zip Exceptions contains the exceptions which can occur during zip/unzip operations. Interface Summary Sr.No. Exception & Description 1 DataFormatExceptionSignals that a data format error has occurred. 2 ZipExceptionSignals that a Zip exception of some sort has occurred.
-
ZipOutputStream
Introduction The java.util.zip.ZipOutputStream class implements an output stream filter for writing files in the ZIP file format. Includes support for both compressed and uncompressed entries. Class Declaration Following is the declaration for java.util.zip.ZipOutputStream class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Fields Following are the fields for java.util.zip.ZipOutputStream class…
-
ZipInputStream
Introduction The java.util.zip.ZipInputStream class implements an input stream filter for reading files in the ZIP file format. Includes support for both compressed and uncompressed entries. Class Declaration Following is the declaration for java.util.zip.ZipInputStream class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Fields Following are the fields for java.util.zip.ZipInputStream class…
-
ZipFile
Introduction The java.util.zip.ZipFile class is used to read entries from a zip file. Class Declaration Following is the declaration for java.util.zip.ZipFile class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Fields Following are the fields for java.util.zip.ZipFile class − Constructors Sr.No. Constructor & Description 1 ZipFile(File file)Opens a ZIP file…
-
ZipEntry
Introduction The java.util.zip.ZipEntry class is used to represent a ZIP file entry. Class Declaration Following is the declaration for java.util.zip.ZipEntry class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Fields Following are the fields for java.util.zip.ZipEntry class − Constructors Sr.No. Constructor & Description 1 ZipEntry(String name)Creates a new zip entry…
-
InflaterOutputStream
Introduction The java.util.zip.InflaterOutputStream class implements an output stream filter for uncompressing data stored in the “deflate” compression format. Class Declaration Following is the declaration for java.util.zip.InflaterOutputStream class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Fields Following are the fields for java.util.zip.InflaterOutputStream class − Constructors Sr.No. Constructor & Description 1…
-
InflaterInputStream
Introduction The java.util.zip.InflaterInputStream class implements a stream filter for uncompressing data in the “deflate” compression format. It is also used as the basis for other decompression filters, such as GZIPInputStream. Class Declaration Following is the declaration for java.util.zip.InflaterInputStream class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Fields…
-
Inflater
Introduction The java.util.zip.Inflater class provides support for general purpose decompression using the popular ZLIB compression library. The ZLIB compression library was initially developed as part of the PNG graphics standard and is not protected by patents. It is fully described in the specifications at the java.util.zip package description. Class Declaration Following is the declaration for java.util.zip.Inflater class − Learn Java in-depth…
-
GZIPOutputStream
Introduction The java.util.zip.GZIPOutputStream class implements a stream filter for writing compressed data in the GZIP file format. Class Declaration Following is the declaration for java.util.zip.GZIPOutputStream class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Fields Following are the fields for java.util.zip.GZIPOutputStream class − Constructors Sr.No. Constructor & Description 1 GZIPOutputStream(OutputStream…