public class FileUtils
extends java.lang.Object
Constructor and Description |
---|
FileUtils() |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
getAbsoluteFile(java.io.File file) |
static java.io.File |
getAbsoluteFile(java.lang.String pathname) |
static java.lang.String |
getBaseName(java.io.File f) |
static java.io.File |
getRealFile(java.io.File file) |
static java.lang.String |
getRealPath(java.io.File file) |
static boolean |
isRootFile(java.io.File f) |
static boolean |
isSameFile(java.io.File f1,
java.io.File f2) |
static boolean |
isSubfolder(java.io.File folder,
java.io.File file) |
static java.io.File |
removeExtension(java.io.File f) |
public static java.lang.String getRealPath(java.io.File file)
public static java.io.File getRealFile(java.io.File file)
public static java.io.File getAbsoluteFile(java.io.File file)
public static java.io.File getAbsoluteFile(java.lang.String pathname)
public static java.lang.String getBaseName(java.io.File f)
public static boolean isRootFile(java.io.File f)
public static boolean isSameFile(java.io.File f1, java.io.File f2)
public static boolean isSubfolder(java.io.File folder, java.io.File file)
public static java.io.File removeExtension(java.io.File f)