package com.iailab.framework.desensitize.core.slider.handler;
|
|
import com.iailab.framework.desensitize.core.slider.annotation.CarLicenseDesensitize;
|
|
/**
|
* {@link CarLicenseDesensitize} 的脱敏处理器
|
*
|
* @author gaibu
|
*/
|
public class CarLicenseDesensitization extends AbstractSliderDesensitizationHandler<CarLicenseDesensitize> {
|
@Override
|
Integer getPrefixKeep(CarLicenseDesensitize annotation) {
|
return annotation.prefixKeep();
|
}
|
|
@Override
|
Integer getSuffixKeep(CarLicenseDesensitize annotation) {
|
return annotation.suffixKeep();
|
}
|
|
@Override
|
String getReplacer(CarLicenseDesensitize annotation) {
|
return annotation.replacer();
|
}
|
}
|