public enum ImageType extends Enum<ImageType> implements Type
| Enum Constant and Description |
|---|
CAPTCHA_HOLLOW_CHAR
图片类型:空心文字验证码图片
|
CAPTCHA_INTERFERENCE_LINE
图片类型:带干扰线的图片
|
CAPTCHA_NORMAL
图片类型:普通验证码图片
|
CAPTCHA_SPOT
图片类型:点状验证码图片
|
CAPTCHA_WHITE_CHAR
图片类型:白色文字,纯色背景验证码图片
|
CLEAR
无特殊干扰的普通图片清晰化
|
NONE
不做任何处理
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCleanMethods()
返回方法调用结果
|
static ImageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageType CAPTCHA_NORMAL
public static final ImageType CAPTCHA_INTERFERENCE_LINE
public static final ImageType CAPTCHA_SPOT
public static final ImageType CAPTCHA_WHITE_CHAR
public static final ImageType CAPTCHA_HOLLOW_CHAR
public static final ImageType CLEAR
public static final ImageType NONE
public static ImageType[] values()
for (ImageType c : ImageType.values()) System.out.println(c);
public static ImageType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getCleanMethods()
Copyright © 2015. All rights reserved.