File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Unzip a .zip file programatically?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Unzip a .zip file programatically??" Watch "Unzip a .zip file programatically??" New topic

Unzip a .zip file programatically??

Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi all friends,
I want to unzip a .zip file programatically.For that if any one can give me some code then it will be very help full for me.
Thanks & Regards
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Look in the JDK help for a bunch of classes starting with ZIP. There are readers, writers and more. Now, I haven't used them so I can't give you any usage tips beyond read the doc. My next step is usually to go to Google and try something like
"zipinputstream tutorial"
That actually got a bunch of hits!

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi James,
Thanks for ur suggestion.
I agree. Here's the link:
subject: Unzip a .zip file programatically??
It's not a secret anymore!