package com.iailab.framework.desensitize.core.regex.handler; import com.iailab.framework.desensitize.core.regex.annotation.RegexDesensitize; /** * {@link RegexDesensitize} 的正则脱敏处理器 * * @author gaibu */ public class DefaultRegexDesensitizationHandler extends AbstractRegexDesensitizationHandler { @Override String getRegex(RegexDesensitize annotation) { return annotation.regex(); } @Override String getReplacer(RegexDesensitize annotation) { return annotation.replacer(); } }