Class FilePath
- java.lang.Object
-
- com.sun.jdo.api.persistence.enhancer.util.FilePath
-
public class FilePath extends Object
FilePath provides general file path manipulation utilities.
-
-
Constructor Summary
Constructors Constructor Description FilePath()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
canonicalize(File file)
Attempt to produce a canonical path name for the specified filestatic boolean
canonicalNamesEqual(String f1, String f2)
Compare two "canonical" file names for equivalencestatic String
getAbsolutePath(File file)
Return the absolute path for a file.
-
-
-
Method Detail
-
getAbsolutePath
public static String getAbsolutePath(File file)
Return the absolute path for a file. All directory separators are converted to be File.separatorChar
-
canonicalize
public static String canonicalize(File file)
Attempt to produce a canonical path name for the specified file
-
-