try { // Open the ZIP file ZipFile sourcefile = new ZipFile("source.zip"); // Enumerate each entry for (Enumeration entries = sourcefile.entries(); entries.hasMoreElements();) { // Get the entry name String zipEntryName = ((ZipEntry)entries.nextElement()).getName(); } } catch (IOException e) { }
A java blog with a collection of examples and tutorials on Java and related technologies. (Under maintenance with continuous updates) Be in touch with java jazzle or k2java.blogspot.com.
Monday, March 21, 2011
Retrieve the contents of a ZIP file
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment