Package org.miaixz.bus.core.lang
Enum Class EnumMap.Masking
- All Implemented Interfaces:
Serializable,Comparable<EnumMap.Masking>,Constable
脱敏类型
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription地址银行卡中国大陆车牌,包含普通车辆、新能源车辆中文名清空为""清空为null电子邮件定义了一个first_mask的规则,只显示第一个字符。座机号身份证号IPv4地址IPv6地址手机号密码用户id -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumMap.MaskingReturns the enum constant of this class with the specified name.static EnumMap.Masking[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER_ID
用户id -
CHINESE_NAME
中文名 -
ID_CARD
身份证号 -
FIXED_PHONE
座机号 -
MOBILE_PHONE
手机号 -
ADDRESS
地址 -
EMAIL
电子邮件 -
PASSWORD
密码 -
CAR_LICENSE
中国大陆车牌,包含普通车辆、新能源车辆 -
BANK_CARD
银行卡 -
IPV4
IPv4地址 -
IPV6
IPv6地址 -
FIRST_MASK
定义了一个first_mask的规则,只显示第一个字符。 -
CLEAR_TO_NULL
清空为null -
CLEAR_TO_EMPTY
清空为""
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-