aspose file tools*
The moose likes Spring and the fly likes Zip UnZip files and folders in spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Zip UnZip files and folders in spring" Watch "Zip UnZip files and folders in spring" New topic
Author

Zip UnZip files and folders in spring

sadanand munswamy
Ranch Hand

Joined: Apr 10, 2012
Posts: 39
Hi Ranchers,
I am newbie to spring, I have to zip/unzip files/folders using spring framework, I do not want to
use java zip api. Any help will be deeply appreciated.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
I do not want to use java zip api.

Why not? Trying to avoid the standard API is often a questionable approach. Also, Spring (like all frameworks I'm familiar with) has no facilities for this; why would it, given the existence java.util.zip?
Manish Sridharan
Ranch Hand

Joined: Jul 19, 2005
Posts: 64
Quite agree with Tim, you should use Java API to do the zip/unzip function and perhaps configure that as a bean in spring.


Manish S.
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1649
    
    7

As was already stated Spring does not have any libraries I know of for this. However if you have some sort of issue with using java.util.zip I have used the http://commons.apache.org/compress/ libraries before and they did a fine job as well.

Thanks,


[How To Ask Questions][Read before you PM me]
 
wood burning stoves
 
subject: Zip UnZip files and folders in spring