By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,853 Members | 1,012 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,853 IT Pros & Developers. It's quick & easy.

Java - Zip/UnZip handling

P: 52
Looking for Zip/Unzip handling code.
Unzip feature should extract the files including the absolute path.
Eg:
Input
data.zip contains
1. folder IMP
2. some *.txt files.

On Unzip, i choose the location where i want to extract say
F:\Data, now extracted files should appear in F:\Data including the absolute path.

Output:
F:\Data contains (data.zip contents)
1. Folder IMP
2. Some *.txt files
Nov 20 '07 #1
Share this Question
Share on Google+
1 Reply


100+
P: 118
Read more about ZipInputStream and ZipOutputStream classes of the java.util class.
Nov 20 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.