zip file opeartion
Hi all, I have a large collection of zip files (about 400), each file contains 300 plaint texts. If I unzip all the files, these will take up too much space (about 4G). So I am wondering if there are some method that can access the content in the plain text files without unzipping all the zip files.
For example, read the content to a String variable. Anyone knows, please give me a hand.
All you need is java.util.zip package. Read following resources. You will need to list contents of a zip file and extract only the files you need..
java.util.zip (Java 2 Platform SE v1.4.2)
java.util.zip Examples from The Java Developers Almanac 1.4