|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.dna.common.util.FileUtil
public class FileUtil
Constructor Summary | |
---|---|
FileUtil()
|
Method Summary | |
---|---|
static boolean |
delete(java.io.File fileOrDirectory)
Delete the file or directory given by the supplied reference. |
static boolean |
delete(java.lang.String path)
Delete the file or directory at the supplied path. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileUtil()
Method Detail |
---|
public static boolean delete(java.lang.String path)
File.delete()
method.
path
- the path to the file or directory that is to be deleted
public static boolean delete(java.io.File fileOrDirectory)
File.delete()
method.
fileOrDirectory
- the reference to the Java File object that is to be deleted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |