|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.commons.util.io.FileUtil
public class FileUtil
Utilities for working with files
Method Summary | |
---|---|
static void |
deleteFile(java.io.File file)
Delete the a file or a directory. |
static void |
emptyDirectory(java.io.File directory)
Delete the content of a directory, but not the directory itself |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void deleteFile(java.io.File file)
file
- the file to deletepublic static void emptyDirectory(java.io.File directory)
directory
- the directory the clear
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |