public class FileUtilities extends Object
Constructor and Description |
---|
FileUtilities() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteFile(File file) |
static void |
deleteRecursively(File file)
Delete the specified directory and all its contents.
|
static String |
getCanonicalPath(File file)
Return the canonical path, or the absolute path if an error occurs.
|
public FileUtilities()
public static String getCanonicalPath(File file)
file
- Cannot be null.public static void deleteRecursively(File file)
file
- Cannot be null. If a file is specified, it is deleted.public static void deleteFile(File file)
EnvGen available from www.basilv.com/psd/software Copyright © 2007 Basil Vandegriend. All Rights Reserved.