[jira] Created: (IO-262) FileAlterationObserver has no getter for FileFilter

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (IO-262) FileAlterationObserver has no getter for FileFilter

Alex D Herbert (Jira)
FileAlterationObserver has no getter for FileFilter
---------------------------------------------------

                 Key: IO-262
                 URL: https://issues.apache.org/jira/browse/IO-262
             Project: Commons IO
          Issue Type: Improvement
          Components: Utilities
    Affects Versions: 2.0.1, 2.0
            Reporter: Lae
            Priority: Trivial


FileAlterationObserver accepts a FileFilter, but there is no getter for it, which causes inconvenience when implementing a FileAlterationListener.

For example, when implementing FileAlterationListener.onStart(FileAlterationObserver), I wanted to get all existing files under FileAlterationObserver.getDirectory() that satisfies the FileFilter the user used to construct the observer, so that I can keep track of present states of the target files as well as their future states.

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (IO-262) FileAlterationObserver has no getter for FileFilter

Alex D Herbert (Jira)

     [ https://issues.apache.org/jira/browse/IO-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niall Pemberton resolved IO-262.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

Fixed, thanks for the suggestion

http://svn.apache.org/viewvc?view=revision&revision=1080820

> FileAlterationObserver has no getter for FileFilter
> ---------------------------------------------------
>
>                 Key: IO-262
>                 URL: https://issues.apache.org/jira/browse/IO-262
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.0, 2.0.1
>            Reporter: Lae
>            Priority: Trivial
>             Fix For: 2.1
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> FileAlterationObserver accepts a FileFilter, but there is no getter for it, which causes inconvenience when implementing a FileAlterationListener.
> For example, when implementing FileAlterationListener.onStart(FileAlterationObserver), I wanted to get all existing files under FileAlterationObserver.getDirectory() that satisfies the FileFilter the user used to construct the observer, so that I can keep track of present states of the target files as well as their future states.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (IO-262) FileAlterationObserver has no getter for FileFilter

Alex D Herbert (Jira)
In reply to this post by Alex D Herbert (Jira)

     [ https://issues.apache.org/jira/browse/IO-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory closed IO-262.
------------------------------


Closing, we released version 2.1.
               

> FileAlterationObserver has no getter for FileFilter
> ---------------------------------------------------
>
>                 Key: IO-262
>                 URL: https://issues.apache.org/jira/browse/IO-262
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.0, 2.0.1
>            Reporter: Lae
>            Priority: Trivial
>             Fix For: 2.1
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> FileAlterationObserver accepts a FileFilter, but there is no getter for it, which causes inconvenience when implementing a FileAlterationListener.
> For example, when implementing FileAlterationListener.onStart(FileAlterationObserver), I wanted to get all existing files under FileAlterationObserver.getDirectory() that satisfies the FileFilter the user used to construct the observer, so that I can keep track of present states of the target files as well as their future states.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira