public class PatternHelper
extends java.lang.Object
| Constructor and Description |
|---|
PatternHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.regex.Pattern |
compilePattern(java.lang.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 java.util.regex.Pattern compilePattern(java.lang.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 © 2005-2018. All Rights Reserved.