摘要: 在java8或更高版本中,使用NIO API递归删除一个非空目录: try { // 创建stream流 Stream<Path> file = Files.walk(Paths.get("/Users/zhongchengyu/Documents/aaa")); // delete directo 阅读全文
posted @ 2020-06-03 23:17 chengyuabc 阅读(109) 评论(0) 推荐(0) 编辑