commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael (JIRA)" <>
Subject [jira] Closed: (IO-151) Provide other Filter implementation
Date Fri, 28 Dec 2007 11:51:43 GMT


Michael closed IO-151.

    Resolution: Invalid


you made my day! This is exactly what I was looking for. I didn't expect this to work :-D


> Provide other Filter implementation
> -----------------------------------
>                 Key: IO-151
>                 URL:
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Filters
>            Reporter: Michael
> Right now all Filters implement IOFileFilter which extends FileFilter and FilenameFilter.
Well, this is nice but only usable with 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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message