Search code examples
javafiledirectoryzip

Recursively ZIP a directory containing any number of files and subdirectories in Java?


Is there an easy way to recursively ZIP a directory that may or may not contain any number of files and any number of levels of subdirectories?


Solution

  • You can use the Java API Specification and How do you recursively traverse through file folders?.