Enum Class CaptchaBaseMapEnum
- 所有已实现的接口:
Serializable,Comparable<CaptchaBaseMapEnum>,Constable
底图类型枚举
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明滑动拼图底图文字点选底图旋转拼图底图旋转拼图旋转块底图滑动拼图滑块底图 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static StringgetCodeDescByCodeBalue(String codeValue) 根据codeValue获取描述static String列出所有值字符串static CaptchaBaseMapEnumparseFromCodeValue(String codeValue) 根据codeValue获取枚举static booleanvalidateCodeValue(String codeValue) 验证codeValue是否有效static CaptchaBaseMapEnumReturns the enum constant of this class with the specified name.static CaptchaBaseMapEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
ROTATE
旋转拼图底图 -
ROTATE_BLOCK
旋转拼图旋转块底图 -
ORIGINAL
滑动拼图底图 -
SLIDING_BLOCK
滑动拼图滑块底图 -
PIC_CLICK
文字点选底图
-
-
字段详细资料
-
codeValue
-
codeDesc
-
-
构造器详细资料
-
CaptchaBaseMapEnum
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- 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.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
getCodeValue
-
getCodeDesc
-
parseFromCodeValue
根据codeValue获取枚举- 参数:
codeValue- 验证值- 返回:
- 枚举
-
getCodeDescByCodeBalue
根据codeValue获取描述- 参数:
codeValue- 验证值- 返回:
- 描述
-
validateCodeValue
验证codeValue是否有效- 参数:
codeValue- 验证值- 返回:
- 是否有效
-
getString
列出所有值字符串- 返回:
- 所有值字符串
-