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:13 UTC

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

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


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


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

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/IO-85?page=all ]

Niall Pemberton resolved IO-85.
-------------------------------

    Fix Version/s: 1.3
       Resolution: Fixed
         Assignee: Niall Pemberton

Thanks, I've committed the new implementations

> 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
>         Assigned To: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.3
>
>         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


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

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/IO-85?page=all ]

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

    Attachment: EmptyFileFilter.java
                io-new-filefilters-tests.patch

> 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


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

Posted by "Stephen Colebourne (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ 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