1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package com.iailab.framework.desensitize.core.base.handler;
|
| import java.lang.annotation.Annotation;
|
| /**
| * 脱敏处理器接口
| *
| * @author gaibu
| */
| public interface DesensitizationHandler<T extends Annotation> {
|
| /**
| * 脱敏
| *
| * @param origin 原始字符串
| * @param annotation 注解信息
| * @return 脱敏后的字符串
| */
| String desensitize(String origin, T annotation);
|
| }
|
|