src/org/nutz/dao/FieldMatcher.java
public static FieldMatcher make(String actived, String locked, boolean ignoreNull) {
        FieldMatcher fm = new FieldMatcher();
        fm.ignoreNull = ignoreNull;
        if (!Strings.isBlank(actived))
            fm.actived = Regex.getPattern(actived);
        if (!Strings.isBlank(locked))
            fm.locked = Regex.getPattern(locked);
        return fm;
    }
public static FieldMatcher make(String actived, String locked, boolean ignoreNull) {
        FieldMatcher fm = new FieldMatcher();
        fm.ignoreNull = ignoreNull;
        if (!Strings.isBlank(actived))
            fm.actived = Regex.getPattern(actived);
        if (!Strings.isBlank(locked))
            fm.locked = Regex.getPattern(locked);
        return fm;
    }
构建一个字段匹配器.
@param actived 需要保留的字段,必须是合法的正则表达式,可以为null
@param locked  需要忽略的字段,必须是合法的正则表达式,可以为null
@param ignoreNull 是否忽略空值
@return 字段/属性匹配器