class PathData implements Comparable<PathData> {

  public File toFile() {
    if (!(fs instanceof LocalFileSystem)) {
       throw new IllegalArgumentException("Not a local path: " + path);
    }
    return ((LocalFileSystem)fs).pathToFile(path);
  }

  public  PathData(String pathString, Configuration conf);
  public  PathData(URI localPath, Configuration conf);
  private  PathData(FileSystem fs, String pathString);
  private  PathData(FileSystem fs, String pathString, FileStatus stat);

}