Package org.eclipse.jgit.ignore.internal
Class AbstractMatcher
java.lang.Object
org.eclipse.jgit.ignore.internal.AbstractMatcher
- All Implemented Interfaces:
IMatcher
- Direct Known Subclasses:
NameMatcher
,PathMatcher
,WildMatcher
Base class for default methods as
toString()
and such.
This class is immutable and thread safe.
-
Field Details
-
dirOnly
final boolean dirOnly -
pattern
-
-
Constructor Details
-
AbstractMatcher
AbstractMatcher(String pattern, boolean dirOnly) - Parameters:
pattern
- string to parsedirOnly
- true if this matcher should match only directories
-
-
Method Details