|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.w3c.util.IO
| Constructor Summary | |
IO()
|
|
| Method Summary | |
static boolean |
clean(java.io.File file)
Clean recursivly |
static void |
copy(java.io.File source,
java.io.File dest)
Copy source into dest. |
static void |
copy(java.io.InputStream in,
java.io.OutputStream out)
Copy source into dest. |
static boolean |
delete(java.io.File file)
Delete recursivly |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IO()
| Method Detail |
public static void copy(java.io.File source,
java.io.File dest)
throws java.io.IOException
java.io.IOException
public static void copy(java.io.InputStream in,
java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic static boolean delete(java.io.File file)
file - the file (or directory) to delete.public static boolean clean(java.io.File file)
file - the directory to clean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||