public class PatternHelper extends Object
| Constructor and Description |
|---|
PatternHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Pattern |
compilePattern(String queryString)
Converts a String using the
IPersonAttributeDao.WILDCARD into a valid regular expression
Pattern with the IPersonAttributeDao.WILDCARD replaced by .* and the rest of the
string escaped using Pattern.quote(String) |
public static Pattern compilePattern(String queryString)
IPersonAttributeDao.WILDCARD into a valid regular expression
Pattern with the IPersonAttributeDao.WILDCARD replaced by .* and the rest of the
string escaped using Pattern.quote(String)queryString - query StringCopyright © 2015 Jasig. All Rights Reserved.