|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.huguesjohnson.FileDelete
public abstract class FileDelete
FileDelete - utility class to delete files and directories
Constructor Summary | |
---|---|
FileDelete()
|
Method Summary | |
---|---|
static boolean |
deleteDirectory(java.lang.String directoryPath)
Recursively delete a directory. |
static boolean |
deleteFile(java.lang.String filePath)
Delete a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileDelete()
Method Detail |
---|
public static final boolean deleteFile(java.lang.String filePath)
filePath
- The file to delete.
public static final boolean deleteDirectory(java.lang.String directoryPath)
directoryPath
- The directory to delete.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |