List of utility methods to do Delete Temp Directory
void | deleteTestFiles() 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(); |
boolean | deleteTestFolder() delete Test Folder File directory = new File(testFolderLocation); return deleteFolder(directory); |