public abstract class FileDeleteHelper extends Object
Constructor and Description |
---|
FileDeleteHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
rmdirRecursive(File dir)
Recursively delete a directory.
|
static void |
rmdirRecursive(Path dir)
Recursively delete a directory avoiding symbolic link traversals
employing the new filesystem API introduced with java-1.7
|
public static boolean rmdirRecursive(File dir)
rmdirRecursive(Path)
employing the new filesystem
API introduced with java-1.7dir
- The directory to delete recursively.public static void rmdirRecursive(Path dir) throws IOException
dir
- The directory to delete recursively.IOException
- If any operation fails.Copyright © 2016 Clazzes.org. All rights reserved.