Java Utililty Methods Delete Temp Directory

List of utility methods to do Delete Temp Directory

Description

The list of methods to do Delete Temp Directory are organized into topic(s).

Method

voiddeleteTestFiles()
delete Test Files
new File("jserver.xml").delete();
File[] files = new File(".").listFiles();
if (files != null) {
    for (int i = 0; i < files.length; i++) {
        if (files[i].getName().toLowerCase().endsWith(".log")) {
            files[i].delete();
booleandeleteTestFolder()
delete Test Folder
File directory = new File(testFolderLocation);
return deleteFolder(directory);