File.getParentFile

Oskar Liljeblad osk@hem.passagen.se
Mon Jul 17 14:53:00 GMT 2000


This method from Java 1.2 should probably be added to
libgcj/libjava/java/io/File.java:
 public File getParentFile ()
 {
 String parent = getParent();
 return (parent == null ? null : new File(parent));
 }
The implementation is from Classpath.
(I know that it would be better if I did a complete
comparision between Classpath and GCJ java.io.File, but
I don't have the time now.)
Oskar Liljeblad (osk@hem.passagen.se)


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /