[1887] in java-interest
Some comments on Java's File class....
daemon@ATHENA.MIT.EDU (Christophe Meessen)
Tue Sep 19 15:46:58 1995
Date: Tue, 19 Sep 1995 18:10:14 +0200
To: java-interest@java.Eng.Sun.COM
From: meessen@cppm.in2p3.fr (Christophe Meessen)
hello,
here are three comments on the alpha3 file class.
remarks:
1. javadoc missed the [] in String list()[]. This is confusing. Fix javadoc
or File class definition. Change into String[] list(); This is also more
readable.
2. File.list lacks simple File.list( String ) method where the String would
allow wild cards. Using FilenameFilter is a more general method but much
more havier to use for the most common usage of a file list command. It
would allow to do something like a File.list("*.java") call.
3. Where is the File.delete method ? We are unable to delete files. Did I
miss it ?
Bien cordialement,
Ch.Meessen
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com