|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.core.util.FileUtils
Provides utility functions for use with files.
| Constructor Summary | |
FileUtils()
|
|
| Method Summary | |
static void |
makeParentDir(File file)
Creates the parent directory of the specified file. |
static void |
makeParentDir(String filePath)
Creates the parent directory of the specified file path. |
static boolean |
parentDirExists(File file)
Checks if the parent directory of the specified file exists on the file system. |
static boolean |
parentDirExists(String filePath)
Checks if the parent directory of the specified file path exists on the file path system. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileUtils()
| Method Detail |
public static boolean parentDirExists(String filePath)
filePath - the path to the file to check
public static void makeParentDir(String filePath)
filePath - the path to the file to checkpublic static boolean parentDirExists(File file)
file - the file to check
public static void makeParentDir(File file)
file - the file to check
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||