com.servingxml.components.regex
Interface PatternMatcherFactory
- All Known Implementing Classes:
- PatternMatcherFactory.JavaPatternMatcherFactory
public interface PatternMatcherFactory
Factory for creating pattern matchers.
A RegularExpressionFactory
instance may be used to create PatternMatcher
objects.
There is a single instance of a PatternMatcher
which may be obtained through its static getInstance()
method.
DEFAULT
static final PatternMatcherFactory DEFAULT
createPatternMatcher
PatternMatcher createPatternMatcher(java.lang.String expression)
createPatternMatcher
PatternMatcher createPatternMatcher(java.lang.String expression,
boolean caseSensitive,
boolean useRegex)