dcsimg

How do I use the java.util.zip classes to create a ZIP file?

Davanum Srinivas

Look at this following article in Sun's Java Developer Connection specifically in the section titled Compression. They have sample code for creating a zip file using java.util.zip package.

Tuning Java I/O Performance