You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2006/07/21 12:57:16 UTC

[jira] Updated: (IO-85) IOFileFilter implementations for File.canRead(), File.canWrite(), File.isHidden() and empty files/directories

     [ http://issues.apache.org/jira/browse/IO-85?page=all ]

Niall Pemberton updated IO-85:
------------------------------

    Attachment: CanReadFileFilter.java
                CanWriteFileFilter.java
                HiddenFileFilter.java

> 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, HiddenFileFilter.java
>
>
> 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