public class ExpandWar extends Object
| Constructor and Description |
|---|
ExpandWar() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
copy(File src,
File dest)
Copy the specified file or directory to the destination.
|
static boolean |
delete(File dir)
Delete the specified directory, including all of its contents and
sub-directories recursively.
|
static boolean |
delete(File dir,
boolean logFailure)
Delete the specified directory, including all of its contents and
sub-directories recursively.
|
static boolean |
deleteDir(File dir)
Delete the specified directory, including all of its contents and
sub-directories recursively.
|
static boolean |
deleteDir(File dir,
boolean logFailure)
Delete the specified directory, including all of its contents and
sub-directories recursively.
|
public static boolean copy(File src, File dest)
src - File object representing the sourcedest - File object representing the destinationpublic static boolean delete(File dir)
dir - File object representing the directory to be deletedpublic static boolean delete(File dir, boolean logFailure)
dir - File object representing the directory to be deletedlogFailure - true if failure to delete the resource
should be loggedpublic static boolean deleteDir(File dir)
dir - File object representing the directory to be deletedpublic static boolean deleteDir(File dir, boolean logFailure)
dir - File object representing the directory to be deletedlogFailure - true if failure to delete the resource
should be loggedCopyright © 2016 JBoss by Red Hat. All rights reserved.