|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.comarquage.util.FileUtils
public final class FileUtils
File utilities
| Method Summary | |
|---|---|
static boolean |
deleteDirectory(java.io.File path)
Deletes all files and subdirs |
static boolean |
fileExists(java.io.File file)
|
static boolean |
removeFile(java.io.File strFilePath)
Delete the file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean removeFile(java.io.File strFilePath)
strFilePath - the file to delete
true if the file as been deletedpublic static boolean fileExists(java.io.File file)
file - the file
true if the file existpublic static boolean deleteDirectory(java.io.File path)
path - The path to delete
true if the directory as been deleted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||