Java实现zip解压缩目录中的所有文件
程序员文章站
2022-03-20 08:21:17
...
import java.io.*; import java.util.*; import java.util.zip.*; public class FolderUnzip { private static String sourcepath="D:\\tmp"; private static ListfolderList=new ArrayList (Arrays.asList(sourcepath)); private static List folderList2=new ArrayList (Arrays.asList("E:\\tt"+File.separator+sourcepath.substring(sourcepath.lastIndexOf(File.separator)))); private static FileInputStream fis = null; private static FileOutputStream fos = null; private static ZipInputStream zipin = null; public static void main(String[] args) { for (int j = 0; j
上一篇: 人脸识别及数据流处理
下一篇: maya中删除命名空间namespace