Reputation: 65
I am trying to create a java program that will take in a directory path and then zip its contents. What is the best way of achieving this? Are there any packages which have this functionality already implemented?
Upvotes: 2
Views: 506
Reputation: 20531
In case the interface of java.util.zip is too complicated, you might want to have a look at http://commons.apache.org/compress/.
Upvotes: 0