I am Anil, software development manager at Serus, we create SAAS applications for supply chain domain. You can find me on LinkedIn. I keep coding day in and day out. During office timings, I code for my company, and during after hours I work on open source projects. I have around 11 private repositories and 3 public repositories.
There are couple of really good libraries in this field (Apache IOUtils comes to mind). But off late while doing a lot of development, I have always had to make choice between the right way of doing things and the faster way of doing things. Often due to initial time constraints, the faster way would win. But after some time I would have to revisit and then redo the things the right way. This was the motivation behind creating Effy (for those wondering about the name, Effy is a short form of Efficient). So you could use Effy API methods without worrying about the performance.
Creating better technology the open source way. Effy is and will always be open source for usage.
For now just download the latest jar (effy1.2.jar) at the moment, add it to your project in Eclipse/Idea and start coding.
You can Unzip the file and write all it's contents and files.
ZipUtils zipUtil = new ZipUtils();
zipUtil.unzip("C:/anil/misc/temp/anikl.zip");
If the need is to create smallest zip file for a give file, please use the below implementation. This will compress file myFile.xlsx and write it to to the below temp folder.
ZipUtils zipUtil = new ZipUtils();
zipUtil .zipHighCompression("C:/misc/myFile.xlsx", "C:/anil/misc/temp/");