public class FileUtils
extends java.lang.Object
File
Constructor and Description |
---|
FileUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
copyDirectory(java.io.File source,
java.io.File destination)
Copy one directory into another
|
static void |
deleteFile(java.io.File... files)
Deletes all files provided
|
static void |
deleteFile(java.io.File file)
Delete a File.
|
static void |
foreceDeleteFile(java.io.File file) |
static java.lang.String |
getProperty(java.lang.String property,
java.lang.String fileName)
Obtains a property of on properties file
|
public static void deleteFile(java.io.File... files)
files
- Array of filespublic static void foreceDeleteFile(java.io.File file)
public static void deleteFile(java.io.File file)
file
- The file to deletepublic static void copyDirectory(java.io.File source, java.io.File destination) throws StructuralIntercessionException
source
- The directory to be copieddestination
- The destination of the copyStructuralIntercessionException
public static java.lang.String getProperty(java.lang.String property, java.lang.String fileName) throws StructuralIntercessionException
property
- The propierty namefileName
- The file nameStructuralIntercessionException