//4、压缩打包
String uuid = UUID.randomUUID().toString();
String zipFile = prePath + "/docx/" + uuid + ".zip";
ZipUtil.zip(file_list, zipFile);
//5、删除临时文件
for (int i = 0; i < file_list.size(); i++) {
File file = new File(file_list.get(i));
file.delete();
}
打包并删除临时文件
猜你喜欢
转载自www.cnblogs.com/littlehb/p/12059596.html
今日推荐
周排行