public final class FileUtil extends Object
public static void copy(File src, File dest) throws IOException
src
- source file or directorydest
- destination file or directoryIOException
- if the file or directory cannot be copiedpublic static void delete(File f) throws IOException
f
- file or directoryIOException
- if the file or directory cannot be deletedCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.