How to Zip a folder in Java
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.
This program uses Commons IO – IOUtils library to copy files.
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.
This program uses Commons IO – IOUtils library to copy files.