java.lang.Object
org.eclipse.jgit.ignore.internal.AbstractMatcher
org.eclipse.jgit.ignore.internal.WildMatcher
- All Implemented Interfaces:
IMatcher
Wildmatch matcher for "double star" (
**) pattern only. This
matcher matches any path.
This class is immutable and thread safe.
-
Field Summary
-
Method Summary
Methods inherited from class org.eclipse.jgit.ignore.internal.AbstractMatcher
equals, hashCode, toString
-
Method Details
-
matches
Description copied from interface:IMatcherMatches entire given string- Parameters:
path- string which is not null, but might be emptyassumeDirectory- true to assume this path as directory (even if it doesn't end with a slash)pathMatch-trueif the match is for the full path: prefix-only matches are not allowed- Returns:
- true if this matcher pattern matches given string
-
matches
Description copied from interface:IMatcherMatches only part of given string- 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
-