11 2018 档案
摘要:String filePath = "文件夹地址"; File filePathIs = new File(filePath); if(!filePathIs.isDirectory()){ filePathIs.mkdirs(); } //文件夹下的文件列表 List<File> fi
阅读全文
摘要:目前在Windows上测试成功,linux上可能是由问题的,在网上找了些资料,结合自己调试结果,最终如下: 递归获取文件: List fileList = new TreeList(); public List files(File file){ for(File f : file.listFile
阅读全文

浙公网安备 33010602011771号