List of utility methods to do File Path Delete
boolean | delFiles(String path) del Files return delFiles(new File(path)); |
boolean | delTree(String path) del Tree File pathFile = new File(path); if (!pathFile.exists()) return true; File[] files = pathFile.listFiles(); for (int i = 0; i < files.length; i++) { if (files[i].isDirectory()) delTree(files[i].getAbsolutePath()); else { ... |