Monday, 25 April 2016

What you can do with Java Zip package ?


java.util.zip provides :
Classes for reading / writing the standard and compressed files or archives in the ZIP and GZIP file formats.

Basically, ZIP file forms for the JAR file format, so it is easier to include classes for manipulating ZIP files as part of the standard Java APIs.
This functionality is very useful, because it saves the time of creating custom file archive formats for your applications.

Classes
GZIPInputStream
implements a stream filter for reading compressed data in the GZIP format

GZIPOutputStream
implements a stream filter for writing compressed data in the GZIP file format

ZipEntry
used to represent a ZIP file entry

ZipFile
used to read entries from a zip file

ZipInputStream
implements an input stream filter for reading files in the ZIP file format


ZipOutputStream
implements an output stream filter for writing files in the ZIP file format

No comments:

Post a Comment

Note: only a member of this blog may post a comment.