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

Provide other Filter implementation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Filters
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: