How can I create an uncompressed zip file from a set of files?
Author: Deron Eriksson
Description: This Java tutorial describes how to create an uncompressed zip file from a set of files.
Tutorial created using: Windows XP || JDK 1.5.0_09 || Eclipse Web Tools Platform 2.0 (Eclipse 3.3.0)


Page: < 1 2

(Continued from page 1)

The execution of ZipFiles is shown below in the Console view.

Execution of ZipFiles

The uncompressed-test.zip file was created at the root level of our project.

uncompressed-test.zip file created

If we inspect the uncompressed-test.zip file, we can see that the files stored in the zip archive are not compressed. We can see this by looking at the sizes in the 'Packed' column.

Contents of uncompressed-test.zip file viewed in WinZip
Page: < 1 2