com.basilv.core
Class FileUtilities
java.lang.Object
com.basilv.core.FileUtilities
public class FileUtilities
- extends Object
Contains utility methods for working with Files.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtilities
public FileUtilities()
getCanonicalPath
public static String getCanonicalPath(File file)
- Return the canonical path, or the absolute path if an error occurs.
- Parameters:
file - Cannot be null.
- Returns:
- the full path of the file.
deleteRecursively
public static void deleteRecursively(File file)
- Delete the specified directory and all its contents.
- Parameters:
file - Cannot be null. If a file is specified, it is deleted.
deleteFile
public static void deleteFile(File file)
EnvGen available from www.basilv.com/psd/software Copyright © 2007 Basil Vandegriend. All Rights Reserved.