java下载多级文件夹以及文件压缩下载

/** * 写入压缩包 * file * parentPath */ public void writeZip(File file, String parentPath, ZipOutputStream zos) { if (file.exists()) { // 须要压缩的文件夹是否存在 if (file.isDirectory()) {// 是文件夹
相关文章
相关标签/搜索