开发者

zip directory using java

开发者 https://www.devze.com 2023-03-12 07:59 出处:网络
I am trying to create a java program that will take in a directory path and then zip its con开发者_运维问答tents. What is the best way of achieving this? Are there any packages which have this functio

I am trying to create a java program that will take in a directory path and then zip its con开发者_运维问答tents. What is the best way of achieving this? Are there any packages which have this functionality already implemented?


The package java.util.zip is available in the runtime.


In case the interface of java.util.zip is too complicated, you might want to have a look at http://commons.apache.org/compress/.

0

精彩评论

暂无评论...
验证码 换一张
取 消