Home arrow Java & J2EE arrow Zip Meets Java

Zip Meets Java

javaThe ZIP file format has become extremely popular for the distribution and storage of files... The java.util.zip package allows for the programmatic reading and writing of the ZIP and GZIP formats. As you値l see in this article, the API for reading and writing ZIP files is pretty straightforward to use... In this article, I値l take you through a Java program that creates of a ZIP file and also walk you through another Java program that unzips the file we created.

TABLE OF CONTENTS:
  1. Zip Meets Java
  2. Zipping Things Up with Java
  3. Unzipping Things with Java
  4. Conclusion
By: Kulvir Singh Bhogal
Rating: starstarstarstarstar / 102
November 17, 2003

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
The ZIP file format has become extremely popular for the distribution and storage of files. ZIP files allow for compression, making transporting a set of files from one location to another (e.g., across a network) faster. When a person is downloading files via a dial up connection, the size of the file being downloaded can make the difference between sanity and being fitted for a straight jacket. Depending on the source file types being compressed, ZIP files can provide significant space savings. ZIP archives can also maintain the directory structure of files that are compressed, making the ZIP format a formidable file transport mechanism.

The java.util.zip package allows for the programmatic reading and writing of the ZIP and GZIP formats. As you値l see in this article, the API for reading and writing ZIP files is pretty straightforward to use. Learning how to use the offerings of the java.util.zip package might best be facilitated via example. In this article, I値l take you through a Java program that creates of a ZIP file and also walk you through another Java program that unzips the file we created.

 
 
>>> More Java & J2EE Articles          >>> More By Kulvir Singh Bhogal
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

JAVA & J2EE ARTICLES

- More Java Bugs Lead to More Attacks
- Oracle's Java One Brings News, Surprises
- Oracle Patches Java Runtime Environment
- Apple Syncs Java Update with Oracle
- Spring 3.1 Java Development Framework Compat...
- Jelastic Java PaaS Availability and Pricing ...
- NetBeans 7.1 Released, Supports JavaFX 2
- SolarWinds Releases Newest Version of Java M...
- Free Monitoring Tool for Java Apps on Heroku
- Heroku Adds JCloud Platform Support, Java 7 ...
- Java SE 8 Speculation in Full Swing
- Java SE 7 Now Available
- New JVM Language and Java Reporting Tool
- Java 7 Release Update and New Eclipse Toolkit
- The Best Java Netbeans IDE Plugins

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: