public class FilterRowUtils extends Object
Constructor and Description |
---|
FilterRowUtils() |
Modifier and Type | Method and Description |
---|---|
static List<ParseResult> |
parse(String string,
String textDelimiter,
TextMatchingMode textMatchingMode) |
static ParseResult |
parseExpression(String string)
Parses the text entered in the filter row.
|
static ParseResult |
parseLiteral(String string) |
static <T> void |
setMatchOperation(ca.odell.glazedlists.matchers.ThresholdMatcherEditor<T,Object> thresholdMatcherEditor,
ParseResult.MatchType matchType)
Set the Match operation on the
ThresholdMatcherEditor corresponding to the
ParseResult.MatchType . |
public static List<ParseResult> parse(String string, String textDelimiter, TextMatchingMode textMatchingMode)
public static ParseResult parseExpression(String string)
string
- entered by the user in the filter row text boxpublic static ParseResult parseLiteral(String string)
public static <T> void setMatchOperation(ca.odell.glazedlists.matchers.ThresholdMatcherEditor<T,Object> thresholdMatcherEditor, ParseResult.MatchType matchType)
ThresholdMatcherEditor
corresponding to the
ParseResult.MatchType
. This must be done this way since ThresholdMatcherEditor.MatcherEditor is private.T
- type of the row objectCopyright © 2013. All Rights Reserved.