|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.huguesjohnson.FileCopy
public abstract class FileCopy
FileCopy - utility class to copy files and directories
| Constructor Summary | |
|---|---|
FileCopy()
|
|
| Method Summary | |
|---|---|
static boolean |
copyDirectory(java.lang.String sourceDirectory,
java.lang.String destinationDirectory,
boolean recursive)
Copy a directory. |
static boolean |
copyFile(java.lang.String sourceFile,
java.lang.String destinationFile)
Copy a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileCopy()
| Method Detail |
|---|
public static final boolean copyFile(java.lang.String sourceFile,
java.lang.String destinationFile)
sourceFile - The source file to copy.destinationFile - The destination for the copy.
public static final boolean copyDirectory(java.lang.String sourceDirectory,
java.lang.String destinationDirectory,
boolean recursive)
sourceDirectory - The source directory to copy.destinationDirectory - The destination for the copy.recursive - Set to true to copy sub-directories.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||