fix:删除文件和文件夹

上级 c9d7445a
......@@ -11,7 +11,7 @@ import java.nio.file.attribute.BasicFileAttributes;
*/
public class File_09_Test_delete {
public static void main(String[] args) throws IOException {
Files.walkFileTree(Paths.get("/Users/qinyingjie/Downloads/ConcurrntHashMap扩容源码分析_副本"), new SimpleFileVisitor<Path>() {
Files.walkFileTree(Paths.get("/Users/qinyingjie/Downloads/未命名文件夹"), new SimpleFileVisitor<Path>() {
@Override
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
Files.delete(file);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册