|
|||||||||
| Home >> All >> org >> websody >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.websody.util
Class IO

java.lang.Objectorg.websody.util.IO
- public class IO
- extends java.lang.Object
Collection of some useful I/O helpers like recursive deletion of files.
| Constructor Summary | |
IO()
|
|
| Method Summary | |
static boolean |
clear(java.io.File file)
clears recursivly |
static boolean |
clear(java.lang.String file)
clears recursivly |
static void |
copyFile(java.io.File source,
java.io.File destination)
Copy file from source to destination. |
static void |
copyStream(java.io.InputStream in,
java.io.OutputStream out)
|
static boolean |
delete(java.io.File file)
Deletes a file recursivly |
static boolean |
delete(java.lang.String file)
Deletes a file recursivly |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
IO
public IO()
| Method Detail |
delete
public static boolean delete(java.lang.String file)
- Deletes a file recursivly
delete
public static boolean delete(java.io.File file)
- Deletes a file recursivly
clear
public static boolean clear(java.lang.String file)
- clears recursivly
clear
public static boolean clear(java.io.File file)
- clears recursivly
copyFile
public static void copyFile(java.io.File source, java.io.File destination) throws java.io.IOException
- Copy file from source to destination. The directories up to
destinationwill be created if they don't already exist.destinationwill be overwritten if it already exists.
copyStream
public static void copyStream(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException
|
|||||||||
| Home >> All >> org >> websody >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.websody.util.IO