|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.libs.Files
public class Files
Files utils
Constructor Summary | |
---|---|
Files()
|
Method Summary | |
---|---|
static void |
copy(java.io.File from,
java.io.File to)
Just copy a file |
static boolean |
copyDir(java.io.File from,
java.io.File to)
|
static boolean |
delete(java.io.File file)
Just delete a file. |
static boolean |
deleteDirectory(java.io.File path)
Recursively delete a directory. |
static void |
unzip(java.io.File from,
java.io.File to)
|
static void |
zip(java.io.File directory,
java.io.File zipFile)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Files()
Method Detail |
---|
public static void copy(java.io.File from, java.io.File to)
from
- to
- public static boolean delete(java.io.File file)
file
- The file to deletepublic static boolean deleteDirectory(java.io.File path)
public static boolean copyDir(java.io.File from, java.io.File to)
public static void unzip(java.io.File from, java.io.File to)
public static void zip(java.io.File directory, java.io.File zipFile)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |