Java Utililty Methods File Path Delete

List of utility methods to do File Path Delete

Description

The list of methods to do File Path Delete are organized into topic(s).

Method

booleandelFiles(String path)
del Files
return delFiles(new File(path));
booleandelTree(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 {
...