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 String
createContainedRegEx(String searchString)
protected String
createEndAnchoredRegEx(String searchString)
protected String
createEqualsRegEx(String searchString)
String
createRegEx(String searchString)
protected String
createStartsAnchoredRegEx(String searchString)
protected String
getDefaultMatchRule()
String
getMatchRule()
List<String>
getMatchRules()
boolean
isAutoDetect()
void
setMatchRule(String category)
-