Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
Right now all Filters implement IOFileFilter which extends FileFilter and FilenameFilter. Well, this is nice but only usable with java.io.File#list method. The return type is a string array with the filenames.
This array is useless to me and others since we need a file object array to do some operations with the file reference.
applying any filter to File#listFiles(...) result in "unambigious method call" since IOFileFiter extends both java interfaces and java does not know which to resolve.
So am asking to split implemetation or make is usable with listFiles methods somehow.