scala 删除目录
2021-08-25 16:19 ZealouSnesS 阅读(133) 评论(0) 编辑 收藏 举报file io - Delete directories recursively in Java - Stack Overflow
You should check out Apache's commons-io. It has a FileUtils class that will do what you want.
FileUtils.deleteDirectory(new File("directory"));