|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--pt.jcodeutil.core.util.FileUtils
Title: FileUtils
Description: Some utilities for file management.
| Constructor Summary | |
FileUtils()
|
|
| Method Summary | |
static void |
duplicateFile(java.lang.String fileName,
java.lang.String copyName)
Make a backup of a file. |
static java.lang.String[] |
getDirectoryList(java.io.File directory)
Get the content of a directory. |
static java.lang.String[] |
getDirectoryList(java.lang.String directory)
Get the content of a directory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileUtils()
| Method Detail |
public static void duplicateFile(java.lang.String fileName,
java.lang.String copyName)
throws java.io.IOException
fileName - file to be backed up.copyName - backup filejava.io.IOException - if can't create the file or write to it.public static final java.lang.String[] getDirectoryList(java.lang.String directory)
directory - public static final java.lang.String[] getDirectoryList(java.io.File directory)
directory -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||