gov.sns.tools.swing.patternfilter
Interface PatternGenerator
- public interface PatternGenerator
PatternGenerator is an interface for compiling a pattern from text. An implementation
may generate a pattern based on the text and also other criteria e.g. "starts with", "contains",
"ends with", etc.
|
Method Summary |
java.util.regex.Pattern |
compilePattern(java.lang.String text,
int flags)
Compile a pattern based on the specified text and flags |
compilePattern
public java.util.regex.Pattern compilePattern(java.lang.String text,
int flags)
- Compile a pattern based on the specified text and flags
- Parameters:
text - the text from which to build the patternflags - the pattern flags used to compile the filter
- Returns:
- the compiled pattern