commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hao Liu (JIRA)" <>
Subject [jira] [Commented] (IO-531) make it more esay-to-use:, IOFileFilter, IOFileFilter)
Date Fri, 21 Apr 2017 02:25:04 GMT


Hao Liu commented on IO-531:

Thanks for all your quick replies and comments. 

As Sebb said maybe it's unnecessary.
And I think Sebb's suggestion is a very good workaround for me.
I will use "FileUtils.listFiles(directory, TrueFileFilter.TRUE, new NotFileFilter(new NameFileFilter("se")))"
instead of my initial implementation.

Thank you.
Hao Liu.

> make it more esay-to-use:, IOFileFilter,
> -----------------------------------------------------------------------------------------------------
>                 Key: IO-531
>                 URL:
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.5
>            Reporter: Hao Liu
>         Attachments: Commons IOIO-531.pdf
> when I only want to filter the directories, it should be better to allow me to set the
second parameter to null or I have to implement the
interface with nothing functionally task to do.

This message was sent by Atlassian JIRA

View raw message