public final class FileCopyUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
copyFile(java.io.File src, java.io.File target)
Copies one file (src) to target.
|
public static void copyFile(java.io.File src,
java.io.File target)
throws java.io.IOException
File objects. In addition to copying a file, it will create the required directory trees for the output file.src - Source filetarget - Desired destination filejava.io.IOException