commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IO-85) IOFileFilter implementations for File.canRead(), File.canWrite(), File.isHidden() and empty files/directories
Date Sat, 22 Jul 2006 14:42:14 GMT
    [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message