|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.common.util.FileUtil
public final class FileUtil
.
for license details.
The copyright to this program is held by it's authors.| Field Summary | |
|---|---|
static String |
EXTENSION_JAVA
Extension for java files |
static String |
EXTENSION_PROPERTIES
Extension for properties files |
static String |
EXTENSION_XML
Extension for XML files |
static String |
EXTENSION_XSLT
Extension for XSLT files |
static String |
MODE_READ
Modes for opening random access files |
static String |
MODE_WRITE
Modes for opening random access files |
| Constructor Summary | |
|---|---|
private |
FileUtil()
Prevent Instansiation |
| Method Summary | |
|---|---|
static List |
delete(File file)
Deletes a file or a directory and all of its contents |
private static void |
deleteContents(File dirPath,
List failures)
Recursive delete files. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EXTENSION_JAVA
public static final String EXTENSION_PROPERTIES
public static final String EXTENSION_XSLT
public static final String EXTENSION_XML
public static final String MODE_READ
public static final String MODE_WRITE
| Constructor Detail |
|---|
private FileUtil()
| Method Detail |
|---|
public static List delete(File file)
file - or directory to delete
private static void deleteContents(File dirPath,
List failures)
dirPath - directory of files to deletefailures - the list of files that could not be deleted
|
Copyright ยจ 2003-2007 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||