public class Cleaner
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.log4j.Logger |
log |
| Constructor and Description |
|---|
Cleaner() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
deleteAllFiles(java.lang.String directory) |
static boolean |
deleteDirectory(java.lang.String directory) |
static boolean |
deleteFiles(ConfiguredExecutable<?> exec)
This method returns true if all files specified by List files were
successfully removed or there was no files to remove (files list was
empty)
|
(package private) static boolean |
removeFile(java.lang.String filename) |
public static boolean deleteFiles(ConfiguredExecutable<?> exec)
workDirectory - files - static boolean removeFile(java.lang.String filename)
public static boolean deleteAllFiles(java.lang.String directory)
public static boolean deleteDirectory(java.lang.String directory)