public static class SpaceAuthority.WildcardExpressionToFilterConverter extends Object
Constructor and Description |
---|
WildcardExpressionToFilterConverter() |
Modifier and Type | Method and Description |
---|---|
static SpaceAuthority.Filter<?> |
convert(String expression,
boolean allow)
Convert the wildcard expression into a filter.
|
static SpaceAuthority.Filter<?> |
convertToRegex(String expression,
boolean allow)
Convert the wildcard expression into a regex expression, since we found that this is a
faster implementation even for fully matched strings.
|
public static SpaceAuthority.Filter<?> convert(String expression, boolean allow)
expression
- expression to convert.allow
- true
to allow matches of the expression;
false
to deny.public static SpaceAuthority.Filter<?> convertToRegex(String expression, boolean allow)
expression
- expression to convert.allow
- true
to allow matches of the expression;
false
to deny.Copyright © GigaSpaces.