}
public static QueryCacheFilter createFilter(String pattern,boolean ignoreCase) throws PageException {
if(!StringUtil.isEmpty(pattern,true)) {
try {
return new QueryCacheFilterImpl(pattern,ignoreCase);
} catch (MalformedPatternException e) {
throw Caster.toPageException(e);
}
}
return null;