protected static class Parser.WildcardOperand extends Parser.REOperand
Constructor and Description |
---|
WildcardOperand(boolean equals)
Constructor for equal/unequal simple regular expression.
|
Modifier and Type | Method and Description |
---|---|
protected String |
convertToRE(String s)
Converts a wildcard expression into a regular expression.
|
String |
getAppliedExpression(String baseExpression)
After the operand is used, this method returns the expression that
has been really applied to obtain the filter.
|
protected Pattern |
getPattern(String right,
boolean ignoreCase)
Parser.REOperand interface. |
void |
setInstantMode(boolean instantMode)
Sets the instant mode (as is '*' was appended)
|
create
public WildcardOperand(boolean equals)
public void setInstantMode(boolean instantMode)
public String getAppliedExpression(String baseExpression)
protected Pattern getPattern(String right, boolean ignoreCase) throws ParseException
Parser.REOperand
interface.getPattern
in class Parser.REOperand
ParseException