java.lang.Object
com.sun.jdo.api.persistence.enhancer.util.FilePath

public class FilePath extends Object
FilePath provides general file path manipulation utilities.
  • Constructor Details

    • FilePath

      public FilePath()
  • Method Details

    • 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
    • canonicalNamesEqual

      public static boolean canonicalNamesEqual(String f1, String f2)
      Compare two "canonical" file names for equivalence