Commons IO
  1. Commons IO
  2. IO-232

Add Case Sensitive Creation Methods to FileFilterUtils

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Filters
    • Labels:
      None
    • Environment:

      Java 1.4+

      Description

      I would like to propose adding case sensitive versions of the utility methods for the name, prefix, and suffix file filters in FileFilterUtils. The methods would have the following signatures:

      IOFileFilter nameFileFilter(String name, IOCase caseSensitivity)
      IOFileFilter prefixFileFilter(String prefix, IOCase caseSensitivity)
      IOFileFilter suffixFileFilter(String suffix, IOCase caseSensitivity)

        Activity

        Hide
        Michael Wooten added a comment -

        The patch was created with Eclipse and includes the methods described in the description, as well as updates to the test cases.

        Show
        Michael Wooten added a comment - The patch was created with Eclipse and includes the methods described in the description, as well as updates to the test cases.
        Hide
        Niall Pemberton added a comment -

        Fixed, thanks for the patch

        Show
        Niall Pemberton added a comment - Fixed, thanks for the patch

          People

          • Assignee:
            Niall Pemberton
            Reporter:
            Michael Wooten
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2h
              2h
              Remaining:
              Remaining Estimate - 2h
              2h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development