Package org.ldaptive.filter
Class FilterParser
- java.lang.Object
-
- org.ldaptive.filter.FilterParser
-
public final class FilterParser extends Object
Encapsulates aFilterFunction
and exposes a convenience static method for parsing filters..
-
-
Field Summary
Fields Modifier and Type Field Description private static FilterFunction
FILTER_FUNCTION
Default filter function.
-
Constructor Summary
Constructors Modifier Constructor Description private
FilterParser()
Default constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Filter
parse(String filter)
Parse the supplied filter string.
-
-
-
Field Detail
-
FILTER_FUNCTION
private static final FilterFunction FILTER_FUNCTION
Default filter function.
-
-
Method Detail
-
parse
public static Filter parse(String filter) throws FilterParseException
Parse the supplied filter string.- Parameters:
filter
- to parse- Returns:
- search filter
- Throws:
FilterParseException
- if filter is invalid
-
-