Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-151

Provide other Filter implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • Filters
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: