[ http://issues.apache.org/jira/browse/IO-85?page=comments#action_12422831 
] 
            
Stephen Colebourne commented on IO-85:
--------------------------------------

Feel free to commit these if I don't get to them

> IOFileFilter implementations for File.canRead(), File.canWrite(), 
> File.isHidden() and empty files/directories
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: IO-85
>                 URL: http://issues.apache.org/jira/browse/IO-85
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Filters
>    Affects Versions: 1.2
>            Reporter: Niall Pemberton
>            Priority: Minor
>         Attachments: CanReadFileFilter.java, CanWriteFileFilter.java, 
> EmptyFileFilter.java, HiddenFileFilter.java, io-new-filefilters-tests.patch
>
>
> I have the following additional IOFileFilter implementations:
> 1) CanReadFileFilter checks File.canRead()
> 2) CanWriteFileFilter checks File.canWrite()
> 3) HiddenFileFilter checks File.isHidden()
> 4) EmptyFileFilter checks either File contents are empty or directories 
> contain no files
> I've been messing around with Commons Finder without realizing the support 
> that already exists in IO for FileFilters :-(
> I also have a DepthFileFilter that checks a maximum depth from a reference 
> file thats useful for limiting navigating a directory structure, if that 
> sounds useful.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to