Package org.jdesktop.swingx.search
Class PatternModel.RegexCreator
- java.lang.Object
-
- org.jdesktop.swingx.search.PatternModel.RegexCreator
-
- Direct Known Subclasses:
PatternModel.AnchoredSearchMode
- Enclosing class:
- PatternModel
public static class PatternModel.RegexCreator extends Object
Responsible for converting a "raw text" into a valid regular expression in the context of a set of rules.
-
-
Constructor Summary
Constructors Constructor Description RegexCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcreateContainedRegEx(String searchString)protected StringcreateEndAnchoredRegEx(String searchString)protected StringcreateEqualsRegEx(String searchString)StringcreateRegEx(String searchString)protected StringcreateStartsAnchoredRegEx(String searchString)protected StringgetDefaultMatchRule()StringgetMatchRule()List<String>getMatchRules()booleanisAutoDetect()voidsetMatchRule(String category)
-