zip64的Java库 [英] java library for zip64

查看:71
本文介绍了zip64的Java库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前在Java中使用zip64的最佳库是什么?我需要压缩和解压缩大于4 GB的文件/目录.

What is currently the best library to do zip64 with in Java? I need to zip and unzip files / directories larger than 4 GB.

我读到Java 7支持zip64.但是我想如果我为Java 7开发,则只有在将要安装该应用程序的所有计算机上都装有Java 7 JRE的情况下,这才有效?这样对吗?

I read that Java 7 has support for zip64. But I guess if I develop for Java 7 this only works if all the computers on which the application will be installed have Java 7 JRE? Is this correct?

此刻,我正在使用 http://sourceforge.net/projects/zip64file/.但是在这里我想知道这是否仍然是最佳选择?我想拥有一个支持开箱即用的目录压缩的库.现在,我必须自己遍历目录结构.

At the moment I am using http://sourceforge.net/projects/zip64file/ . But here I was wondering if this is still the best choice? I would like to have a library that supports zipping of directories out of the box. Now I have to do the traversing of the directory structure myself.

推荐答案

Apache Commons Compress 支持Zip64格式.

Also Apache Commons Compress supports Zip64 format.

这篇关于zip64的Java库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆