public PatternMatcher createPatternMatcher( String expression, boolean caseSensitive, boolean useRegex) { return (PatternMatcher) instanceFactory.createInstance( CTOR_ARG_TYPES, new Object[] {expression, caseSensitive, useRegex}); }
public PatternMatcher createPatternMatcher(String expression) { return (PatternMatcher) instanceFactory.createInstance(CTOR_ARG_TYPES, new Object[] {expression, true, true}); }