Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-262

FileAlterationObserver has no getter for FileFilter

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lae 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