public final class FileUtil
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| static void | copy(java.io.File src,
    java.io.File dest)Recursively copies the given file or directory to the
 given destination. | 
| static void | delete(java.io.File f)Recursively deletes the given file or directory. | 
public static void copy(java.io.File src,
                        java.io.File dest)
                 throws java.io.IOException
src - source file or directorydest - destination file or directoryjava.io.IOException - if the file or directory cannot be copiedpublic static void delete(java.io.File f)
                   throws java.io.IOException
f - file or directoryjava.io.IOException - if the file or directory cannot be deletedCopyright © 2010 - 2023 Adobe. All Rights Reserved