Uses of Enum Class
com.luna.common.sensitive.FieldType
-
Uses of FieldType in com.luna.common.sensitive
Modifier and TypeMethodDescriptionstatic FieldType
FieldType.parseFieldType
(String fieldName) static FieldType
Returns the enum constant of this class with the specified name.static FieldType[]
FieldType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic <T> void
SensitiveUtil.apply
(T data, Map<FieldType, FieldConfig> config) 调用此方法进行脱敏static <T> SensitiveUtil.WithoutAnnotationUtil<T>
SensitiveUtil.WithoutAnnotationUtil.create
(T data, Map<FieldType, FieldConfig> config, java.util.function.Function<String, FieldType> fieldTypeFunction) 生成工具类static <T> SensitiveUtil.WithoutAnnotationUtil<T>
SensitiveUtil.WithoutAnnotationUtil.create
(T data, Map<FieldType, FieldConfig> config, java.util.function.Function<String, FieldType> fieldTypeFunction) 生成工具类static <T> void
static <T> void
SensitiveUtil.parse
(T data, Map<FieldType, FieldConfig> config) static <T> void
SensitiveUtil.parse
(T data, Map<FieldType, FieldConfig> config, java.util.function.Function<String, FieldType> fieldTypeFunction) 不使用注解的方式脱敏static <T> void
SensitiveUtil.parse
(T data, Map<FieldType, FieldConfig> config, java.util.function.Function<String, FieldType> fieldTypeFunction) 不使用注解的方式脱敏