FileSystemUtils

FileSystemUtils

 

#public static boolean deleteRecursively(@Nullable File root)  递归删除,不会抛出异常

#public static boolean deleteRecursively(@Nullable Path root) throws IOException  递归删除

#public static void copyRecursively(File src, File dest) throws IOException  递归copy

#public static void copyRecursively(Path src, Path dest) throws IOException  递归copy

 

posted on 2021-10-21 09:41  icodegarden  阅读(109)  评论(0编辑  收藏  举报