classpath progress

This commit is contained in:
Joel Dice
2007-07-26 20:39:53 -06:00
parent 7212ba1c30
commit c9f9b039e6
23 changed files with 411 additions and 10 deletions

View File

@ -29,6 +29,16 @@ public class File {
return path;
}
private static native String toCanonicalPath(String path);
public String getCanonicalPath() {
return toCanonicalPath(path);
}
public File getCanonicalFile() {
return new File(getCanonicalPath());
}
private static native String toAbsolutePath(String path);
public String getAbsolutePath() {