else if (separatorChar == '\\' && path.length () > 1 && path.charAt (1) == ':' && ((path.charAt (0) >= 'a' && path.charAt (0) <= 'z') || (path.charAt (0) >= 'A' && path.charAt (0) <= 'Z'))) {     String drvDir = null; try { drvDir = new File (path.substring (0, 2)).getCanonicalPath (); } catch (IOException e) { drvDir = path.substring (0, 2) + "\\"; }     if (path.length () > 2) return drvDir + '\\' + path.substring (2, path.length ()); else return drvDir; }
  public String getAbsolutePath ()  {    if (isAbsolute ())      return path;    else if (separatorChar == '\\'              && path.length () > 0 && path.charAt (0) == '\\')      {        // On Windows, even if the path starts with a '\\' it is not        // really absolute until we prefix the drive specifier from        // the current working directory to it.        return System.getProperty ("user.dir").substring (0, 2) + path;      }    else      return System.getProperty ("user.dir") + separatorChar + path;  }