|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_lib.genbase.utils.FileUtils
FileUtils
is an utility class with no instance. Used to pack a
directory into a jar archive, copy a file, move a file, ...
Field Summary | |
static int |
MAX_BUFFER_SIZE
Buffer Size |
Method Summary | |
static void |
copy(java.io.File source,
java.io.File target)
Copy a source file into a destination directory. |
static java.io.File |
unpack(java.util.jar.JarFile source)
Unpack the source archive in a temporary directory and returns temporary directory created. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAX_BUFFER_SIZE
Method Detail |
public static java.io.File unpack(java.util.jar.JarFile source) throws java.io.IOException
source
- source JarFile to be unpacked
java.io.IOException
- When unpack failspublic static void copy(java.io.File source, java.io.File target) throws java.io.IOException
source
- source filetarget
- destination directory
java.io.IOException
- When copy cannot succeed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |