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

        Michael Wooten created issue -
        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.
        Michael Wooten made changes -
        Field Original Value New Value
        Attachment apache-commons-io-case-sensitive-filters.patch [ 12441573 ]
        Hide
        Niall Pemberton added a comment -

        Fixed, thanks for the patch

        Show
        Niall Pemberton added a comment - Fixed, thanks for the patch
        Niall Pemberton made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Niall Pemberton [ niallp ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12500836 ] Default workflow, editable Closed status [ 12601911 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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