[
https://issues.apache.org/jira/browse/IO-198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niall Pemberton updated IO-198:
-------------------------------
Summary: Add ability in FileFilterUtils to apply file filters to
collections and arrays (was: Add ability in FileFilterUtils to apply file
filters to collections and maps)
Assignee: Niall Pemberton
Affects Version/s: 1.4
(was: 2.0)
> Add ability in FileFilterUtils to apply file filters to collections and arrays
> ------------------------------------------------------------------------------
>
> Key: IO-198
> URL: https://issues.apache.org/jira/browse/IO-198
> Project: Commons IO
> Issue Type: New Feature
> Components: Filters
> Affects Versions: 1.4
> Environment: All
> Reporter: Michael Wooten
> Assignee: Niall Pemberton
> Priority: Minor
> Fix For: 2.0
>
> Attachments: commons-io-filefilters.patch
>
> Original Estimate: 8h
> Remaining Estimate: 8h
>
> Add features to FileFilterUtils that allow for filtering collections and maps
> of files that are not retrieved from directories in the standard manner. This
> feature could be useful for filtering files that are provided by the user or
> that do not all reside in the same directory.
> Example:
> List<File> files = getUserSelectedFiles();
> List<File> xmlFiles = FileFilterUtils.filterList(Arrays.<File>asList(new
> File("A.txt"), new File("B.xml")), FileFilterUtils.suffixFileFilter(".xml"));
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.