开发者

zip directory using java

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜