java多文件压缩成zip文件并实现下载

上传者: cs_ghy | 上传时间: 2021-07-13 15:32:48 | 文件大小: 1.46MB | 文件类型: RAR
本例是把多个文件压缩成一个zip文件,然后下载到本地。 项目完整,下载解压即可运行。

文件下载

资源详情

[{"title":"( 17 个子文件 1.46MB ) java多文件压缩成zip文件并实现下载","children":[{"title":"java多文件压缩成zip文件下载","children":[{"title":"downZipFile","children":[{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 330B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"ghy","children":[{"title":"MyUtils.java <span style='color:#111;'> 8.93KB </span>","children":null,"spread":false},{"title":"FileDown.java <span style='color:#111;'> 4.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"WebRoot","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 36B </span>","children":null,"spread":false}],"spread":true},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"ghy","children":[{"title":"FileDown.class <span style='color:#111;'> 3.95KB </span>","children":null,"spread":false},{"title":"MyUtils.class <span style='color:#111;'> 6.73KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"lib","children":[{"title":"ant.jar <span style='color:#111;'> 1009.81KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"temp","children":null,"spread":false},{"title":"index.jsp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"files","children":[{"title":"1.jpg <span style='color:#111;'> 548.12KB </span>","children":null,"spread":false},{"title":"2.txt <span style='color:#111;'> 32B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".mymetadata <span style='color:#111;'> 306B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 428B </span>","children":null,"spread":false},{"title":".myeclipse","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • qumeihui :
    已成功实现功能,谢谢分享
    2020-04-29
  • pes605 :
    已成功实现功能。感谢楼主
    2017-12-15
  • clz979991314 :
    下载的zip文件不能打开呀
    2016-09-30
  • ning_yue :
    挺好的,可以用
    2016-08-30
  • klinchao :
    已成功实现功能。感谢楼主
    2016-07-12

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明