|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.epicentric.common.FileUtils
FileUtils.
File management utilities.
| Constructor Summary | |
FileUtils()
Deprecated. |
|
| Method Summary | |
static String |
appendSlash(String dir)
Deprecated. as of version 4.5, to be removed in 8.0 or later. Replaced with FileUtils.appendSlash(String). |
static void |
copy(File source,
File destination)
Deprecated. as of version 4.5, to be removed in 8.0 or later. Replaced with FileUtils.copy(File, File). |
static void |
create(File file)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement. |
static boolean |
delete(File file)
Deprecated. as of version 4.5, to be removed in 8.0 or later. Replaced with FileUtils.delete(File). |
static boolean |
deleteDirectoryContents(File file)
Deprecated. as of version 4.5, to be removed in 8.0 or later. Replaced with FileUtils.deleteDirectoryContents(File). |
static boolean |
deleteFileAndEmptyDirectory(File file)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement |
static String |
fixSlashes(String str)
Deprecated. as of version 4.5, to be removed in 8.0 or later. Replaced with FileUtils.fixSlashes(String). |
static String |
generateUniqueName()
Deprecated. as of version 4.5, to be removed in 8.0 or later. Replaced with FileUtils.generateUniqueName(). |
static String |
getAbstract(File file)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement |
static String |
getAbstract(String file_path)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement |
static String[] |
getDirectoryFiles(File dir)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement |
static Vector |
getFilenames(File dir,
Vector files)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement. |
static String |
getFilePath(String directory,
String file_name,
String suffix)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement |
static URL |
getFileURL(File file)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No Replacement. |
static URL |
getFileURL(File dir,
String file_name)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement. |
static URL |
getFileURL(String file_path)
Deprecated. as of version 4.5, to be removed in 8.0 or later. Replaced with FileUtils.toFileURL(String). |
static long |
getTotalFileSize(File file)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement |
static boolean |
isAbsolutePath(String path)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement |
static boolean |
isRelativePath(String path)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement |
static boolean |
isValidDirectory(String dirName)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement |
static void |
makeParentDir(File file)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement |
static void |
makeParentDir(String file_path)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement |
static String |
stripFilename(String filename)
Deprecated. as of version 4.5, to be removed in 8.0 or later. No replacement |
| 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 void copy(File source,
File destination)
FileUtils.copy(File, File).
public static boolean delete(File file)
FileUtils.delete(File).
public static boolean deleteDirectoryContents(File file)
FileUtils.deleteDirectoryContents(File).
public static Vector getFilenames(File dir,
Vector files)
public static URL getFileURL(String file_path)
FileUtils.toFileURL(String).
public static URL getFileURL(File file)
public static URL getFileURL(File dir,
String file_name)
public static String getFilePath(String directory,
String file_name,
String suffix)
public static String stripFilename(String filename)
public static void makeParentDir(String file_path)
public static void makeParentDir(File file)
public static boolean isRelativePath(String path)
public static boolean isAbsolutePath(String path)
public static void create(File file)
throws IOException
public static String generateUniqueName()
FileUtils.generateUniqueName().
public static String fixSlashes(String str)
FileUtils.fixSlashes(String).
public static String appendSlash(String dir)
FileUtils.appendSlash(String).
public static String[] getDirectoryFiles(File dir)
public static String getAbstract(String file_path)
FileUtils.getAbstract(File)public static String getAbstract(File file)
public static long getTotalFileSize(File file)
public static boolean isValidDirectory(String dirName)
public static boolean deleteFileAndEmptyDirectory(File file)
|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||