Completely removes a directory (without warning!) @param directory File The directory to delete
(File directory)
| 863 | * @param directory File The directory to delete |
| 864 | */ |
| 865 | static public boolean remove(File directory) { |
| 866 | if (directory.exists() && directory.isDirectory()) { |
| 867 | return recursiveClearDirectory(directory, FileSystemView.getFileSystemView()); |
| 868 | } |
| 869 | return false; |
| 870 | } |
| 871 | |
| 872 | /** |
| 873 | * Returns all the files under a given directory |
no test coverage detected