public class LeadingAsteriskMatcher extends NameMatcher
beginning, slash, subPattern
dirOnly, pattern
Constructor and Description |
---|
LeadingAsteriskMatcher(java.lang.String pattern,
java.lang.Character pathSeparator,
boolean dirOnly) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.String segment,
int startIncl,
int endExcl)
Matches only part of given string
|
matches
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
createPathMatcher
LeadingAsteriskMatcher(java.lang.String pattern, java.lang.Character pathSeparator, boolean dirOnly)
public boolean matches(java.lang.String segment, int startIncl, int endExcl)
matches
in interface IMatcher
matches
in class NameMatcher
segment
- string which is not null, but might be emptystartIncl
- start index, inclusiveendExcl
- end index, exclusive