Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Code to Zip a folder in Java

Share this post!
 Vote this!

Using the in-built zip function of java, attached is a sample code to copy a folder and all its sub-folders into a zip file.
Java Program to Zip a folder

This program uses Commons IO – IOUtils library to copy files.

0 comments:

Post a Comment