public class MatchingUtil extends Object
Constructor and Description |
---|
MatchingUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
deAnchorTerm(String term) |
static boolean |
equalsWildcard(String pattern,
int patternAt,
String text,
int textAt) |
static String |
normalizeTokens(String src,
String sep,
Tokenizer.TokenizerType type) |
static org.z3950.zing.cql.CQLNode |
parseQuery(String query)
Parses query string into tree representation
|
static String |
surround(String text,
String sur) |
public static org.z3950.zing.cql.CQLNode parseQuery(String query) throws QueryException
query
- QueryException
- when query is malformed or cannot be readpublic static boolean equalsWildcard(String pattern, int patternAt, String text, int textAt)
public static String normalizeTokens(String src, String sep, Tokenizer.TokenizerType type)
Copyright © 2008-2015 Index Data. All Rights Reserved.