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

FileAlterationObserver has no getter for FileFilter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0, 2.0.1
    • 2.1
    • Utilities
    • 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

            Unassigned Unassigned
            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