How do i extract zip files in java
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   l_p
Posted On:   Friday, September 14, 2001 04:53 AM

I have a .zip file in a particular folder on my machine. Using Java Api how do i extract the .zip file to a particular folder.I don't need to read the contents of the files, but just extract them to a particular folder


Coud someone help me out with it??


Thanks !!

Re: How do i extract zip files in java

Posted By:   John_Zukowski  
Posted On:   Monday, September 17, 2001 02:26 PM

Reading is covered in the FAQ. Instead of printing the output, use a different stream (the file).

Re: How do i extract zip files in java

Posted By:   John_Wang  
Posted On:   Friday, September 14, 2001 12:18 PM

Use java.util.zip.ZipInputStream to
read in and any OutputStream to
write out to the folder you designated.
About | Sitemap | Contact