Class GlobPatternMatcher

java.lang.Object
org.apache.ivy.plugins.matcher.AbstractPatternMatcher
org.apache.ivy.plugins.matcher.GlobPatternMatcher
All Implemented Interfaces:
PatternMatcher

public final class GlobPatternMatcher extends AbstractPatternMatcher
A pattern matcher matching input using unix-like glob matcher expressions. Meta characters are:
  • * - Matches zero or more characters
  • ? - Matches exactly one character.

NOTE: this matcher is available only with Apache Jakarta ORO 2.0.8 in your classpath.

See Also:
  • Field Details

  • Constructor Details

    • GlobPatternMatcher

      public GlobPatternMatcher()
  • Method Details

    • newMatcher

      protected Matcher newMatcher(String expression)
      Description copied from class: AbstractPatternMatcher
      Returns an instance of the implementation specific matcher.
      Specified by:
      newMatcher in class AbstractPatternMatcher
      Parameters:
      expression - the string to be matched.
      Returns:
      the instance of the related matcher. Never null.