Commons IO
  1. Commons IO
  2. IO-262

FileAlterationObserver has no getter for FileFilter

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.0.1
    • Fix Version/s: 2.1
    • Component/s: Utilities
    • Labels:
      None

      Description

      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.

        Activity

        Lae created issue -
        Mark Thomas made changes -
        Field Original Value New Value
        Workflow jira [ 12600060 ] Default workflow, editable Closed status [ 12601686 ]
        Niall Pemberton made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.1 [ 12316027 ]
        Resolution Fixed [ 1 ]
        Gary Gregory made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Lae
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 5m
              5m
              Remaining:
              Remaining Estimate - 5m
              5m
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development