public class SpecCaptcha extends Captcha
chars, charType, COLOR, FONT_1, FONT_10, FONT_2, FONT_3, FONT_4, FONT_5, FONT_6, FONT_7, FONT_8, FONT_9, height, len, TYPE_DEFAULT, TYPE_NUM_AND_UPPER, TYPE_ONLY_CHAR, TYPE_ONLY_LOWER, TYPE_ONLY_NUMBER, TYPE_ONLY_UPPER, widthALPHA, charMaxIndex, charMinIndex, lowerMaxIndex, lowerMinIndex, numMaxIndex, RANDOM, upperMaxIndex, upperMinIndex| 构造器和说明 |
|---|
SpecCaptcha() |
SpecCaptcha(int width,
int height) |
SpecCaptcha(int width,
int height,
int len) |
SpecCaptcha(int width,
int height,
int len,
Font font) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
out(OutputStream out)
生成验证码
|
String |
toBase64()
输出base64编码
|
public SpecCaptcha()
public SpecCaptcha(int width,
int height)
public SpecCaptcha(int width,
int height,
int len)
public SpecCaptcha(int width,
int height,
int len,
Font font)
Copyright © 2019. All rights reserved.