java.lang.Object
org.eclipse.jgit.ignore.internal.AbstractMatcher
org.eclipse.jgit.ignore.internal.NameMatcher
org.eclipse.jgit.ignore.internal.WildCardMatcher
- All Implemented Interfaces:
IMatcher
Matcher built from path segments containing wildcards. This matcher converts
glob wildcards to Java
Pattern
's.
This class is immutable and thread safe.
-
Field Summary
-
Method Summary
Methods inherited from class org.eclipse.jgit.ignore.internal.NameMatcher
matches
Methods inherited from class org.eclipse.jgit.ignore.internal.AbstractMatcher
equals, hashCode, toString
-
Method Details
-
matches
Description copied from interface:IMatcher
Matches only part of given string- Specified by:
matches
in interfaceIMatcher
- Overrides:
matches
in classNameMatcher
- Parameters:
segment
- string which is not null, but might be emptystartIncl
- start index, inclusiveendExcl
- end index, exclusive- Returns:
- true if this matcher pattern matches given string
-