public class Parser extends Object implements IParser
IParser, supporting only simple operators
referring to the content of a single column.Format or Comparator is defined for the given type. For example, specifying the
text ">= 4" implies, for a column with integer types, that a
direct comparison between integers will be performed. These operators
are:
Format instance). Only two wildcard characters are defined: * and ?
In addition, providing no operator will behave as the operator ~
IParser.InstantFilter| Constructor and Description |
|---|
Parser(Format format,
Comparator classComparator,
Comparator<String> stringComparator,
boolean ignoreCase,
int modelIndex) |
| Modifier and Type | Method and Description |
|---|---|
String |
escape(String expression)
IParser interface. |
IParser.InstantFilter |
parseInstantText(String expression)
IParser interface. |
RowFilter |
parseText(String expression)
IParser interface. |
String |
stripHtml(String expression)
IParser interface. |
public Parser(Format format, Comparator classComparator, Comparator<String> stringComparator, boolean ignoreCase, int modelIndex)
public RowFilter parseText(String expression) throws ParseException
IParser interface.parseText in interface IParserexpression - the text to parseParseExceptionpublic IParser.InstantFilter parseInstantText(String expression) throws ParseException
IParser interface.parseInstantText in interface IParserexpression - the text to parseParseExceptionCopyright © 2015 coderazzi. All Rights Reserved.