File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes I/O and Streams and the fly likes how to Unzip folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "how to Unzip folder" Watch "how to Unzip folder" New topic

how to Unzip folder

Anuj Joshi

Joined: Feb 05, 2009
Posts: 22

I have to write a code for unzipping a zip file which contains files and folders...
I have written a following code by which I can unzip files i.e. when I run this code files in the subfolders are shown but
folder is not get shown in the destination path...

i.e. my file structure is, D:/test/
& I want to unzip this file to location D:/test2/

now when I unzip file the file structure should be D:/test2/aaa/(files in aaa folder)

Can you please help me regarding this, that how can i do this
I agree. Here's the link:
subject: how to Unzip folder
It's not a secret anymore!