public class LeadingAsteriskMatcher extends NameMatcher
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String segment,
int startIncl,
int endExcl,
boolean assumeDirectory)
Matches only part of given string
|
matchesequals, hashCode, toStringpublic boolean matches(String segment, int startIncl, int endExcl, boolean assumeDirectory)
IMatchermatches in interface IMatchermatches in class NameMatchersegment - string which is not null, but might be emptystartIncl - start index, inclusiveendExcl - end index, exclusiveassumeDirectory - true to assume this path as directory (even if it doesn't end
with a slash)Copyright © 2018 Eclipse JGit Project. All rights reserved.