跳过导航链接
A B C D E F G H I J L M O R S T U V W Z _ 

A

adjustTimeByDay(long, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
通过天数调整时间
adjustTimeByHour(long, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
通过小时数调整时间
adjustTimeByMinute(long, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
通过分钟数来调整时间
adjustTimeByMonth(long, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
通过月份调整时间
adjustTimeBySecond(long, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
通过秒数来调整时间
adjustTimeByYear(long, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
通过年份来调整时间
afterSend() - 接口 中的方法cn.wshugen.lib.commons.email.EmailJob
发送之后(成功或失败)回调函数
afterSend() - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 

B

BasicEmailPrototype - cn.wshugen.lib.commons.email中的接口
原型设计模式接口
beforeSend() - 接口 中的方法cn.wshugen.lib.commons.email.EmailJob
发送前回调
beforeSend() - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 

C

checkAccount(String) - 类 中的静态方法cn.wshugen.lib.commons.ValidationHelper
检测账户
checkEmail(String) - 类 中的静态方法cn.wshugen.lib.commons.ValidationHelper
邮件格式检验
checkEmpty(String) - 类 中的静态方法cn.wshugen.lib.commons.ValidationHelper
空串检测
checkLength(String, int, int) - 类 中的静态方法cn.wshugen.lib.commons.ValidationHelper
长度区间校验
checkMaxLength(String, int) - 类 中的静态方法cn.wshugen.lib.commons.ValidationHelper
最大长度校验
checkMinLength(String, int) - 类 中的静态方法cn.wshugen.lib.commons.ValidationHelper
最小长度校验
checkNull(String) - 类 中的静态方法cn.wshugen.lib.commons.ValidationHelper
检查串是否为空
checkRegex(String, String) - 类 中的静态方法cn.wshugen.lib.commons.ValidationHelper
正则表达式匹配验证
clone() - 接口 中的方法cn.wshugen.lib.commons.email.BasicEmailPrototype
克隆接口
clone() - 类 中的方法cn.wshugen.lib.commons.email.HtmlEmailPrototype
 
clone() - 类 中的方法cn.wshugen.lib.commons.email.ImageHtmlEmailPrototype
 
clone() - 类 中的方法cn.wshugen.lib.commons.email.MultiPartEmailPrototype
 
clone() - 类 中的方法cn.wshugen.lib.commons.email.SimpleEmailPrototype
 
cn.wshugen.lib.commons - 程序包 cn.wshugen.lib.commons
 
cn.wshugen.lib.commons.email - 程序包 cn.wshugen.lib.commons.email
 
cn.wshugen.lib.commons.email.smtp - 程序包 cn.wshugen.lib.commons.email.smtp
 
cn.wshugen.lib.commons.file - 程序包 cn.wshugen.lib.commons.file
 
cn.wshugen.lib.commons.security - 程序包 cn.wshugen.lib.commons.security
 
cn.wshugen.lib.commons.security.web - 程序包 cn.wshugen.lib.commons.security.web
 
cn.wshugen.lib.commons.web - 程序包 cn.wshugen.lib.commons.web
 
convertListToJson(List<?>) - 类 中的静态方法cn.wshugen.lib.commons.JsonHelper
将List转为Json
convertMapToJson(Map<String, Object>) - 类 中的静态方法cn.wshugen.lib.commons.JsonHelper
将Map转为Json
copyFile(String, String) - 类 中的静态方法cn.wshugen.lib.commons.file.FileHelper
拷贝文件
copyFile(File, File) - 类 中的静态方法cn.wshugen.lib.commons.file.FileHelper
拷贝文件(暂时不支持目录拷贝)
currentTime() - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取当前时间戳

D

DateHelper - cn.wshugen.lib.commons中的类
日期辅助类
DateHelper() - 类 的构造器cn.wshugen.lib.commons.DateHelper
 
dateToTime(Date) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
将日期转换为UNIX时间戳
dateToTime(int, int, int, int, int, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
将特定的年、月、日、时、分、秒转换为时间戳
dateToTimeEnd(int, int, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
将特定的年月日转换为时间戳(该日的23:59:59)
dateToTimeEnd(int, int, int, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
将特定的年、月、日、时转换为时间戳(分、秒为: 59:59)
dateToTimeEnd(int, int, int, int, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
将特定的年、月、日、时、分转换为时间戳(秒为: 59)
dateToTimeStart(int, int, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
将特定的年月日转换为时间戳(该日的00:00:00)
dateToTimeStart(int, int, int, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
将特定的年、月、日、时转换为时间戳(分、秒为: 00:00)
dateToTimeStart(int, int, int, int, int) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
将特定的年、月、日、时、分转换为时间戳(秒为: 00)
DecodeUtil - cn.wshugen.lib.commons.security中的类
解码工具
DecodeUtil() - 类 的构造器cn.wshugen.lib.commons.security.DecodeUtil
 
DigestUtil - cn.wshugen.lib.commons.security中的类
计算摘要工具
DigestUtil() - 类 的构造器cn.wshugen.lib.commons.security.DigestUtil
 

E

EmailJob - cn.wshugen.lib.commons.email中的接口
 
EmailJobAdpter - cn.wshugen.lib.commons.email中的类
 
EmailJobAdpter() - 类 的构造器cn.wshugen.lib.commons.email.EmailJobAdpter
 
EncodeUtil - cn.wshugen.lib.commons.security中的类
编码工具
EncodeUtil() - 类 的构造器cn.wshugen.lib.commons.security.EncodeUtil
 
escapeHtmlSpecialChars(String) - 类 中的静态方法cn.wshugen.lib.commons.StringHelper
将特殊的HTML符号实体化(必须先替换&后进行其他替换)

F

FileHelper - cn.wshugen.lib.commons.file中的类
文件辅助类
FileHelper() - 类 的构造器cn.wshugen.lib.commons.file.FileHelper
 
formatDate(long) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取日期格式, 形如2016/09/08
formatDateStr(long) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
日期串格式化, 日期为2016/09/08的UNIX时间戳转换结果为20160908
formatDateTime(long) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
格式化成日期、时间形式
formatFriendly(long) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
根据时间的差异大小显示时间格式,如 1秒前、2分钟前、3小时前、否则显示为日期时间格式,即2016/09/08 18:59:56
formatTimeStr(long) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
时间串格式化, 时间为18:56:23的UNIX时间戳转换为185623

G

generateImage(OutputStream) - 类 中的方法cn.wshugen.lib.commons.security.web.Verify
返回验证码
getAddressTo() - 接口 中的方法cn.wshugen.lib.commons.email.EmailJob
获取收件人地址
getAddressTo() - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 
getBase64DecodedString(String) - 类 中的静态方法cn.wshugen.lib.commons.security.DecodeUtil
将Base64字符串解码为字符串
getBase64EncodedString(String) - 类 中的静态方法cn.wshugen.lib.commons.security.EncodeUtil
将字符串进行Base64编码
getCalendar() - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取日历的实例
getDay() - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取当前日期(几号)
getDay(long) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取时间戳指定的日期
getFields(Class<?>) - 类 中的静态方法cn.wshugen.lib.commons.ObjectHelper
获取所有字段
getFileContent(File) - 类 中的静态方法cn.wshugen.lib.commons.file.FileHelper
获取文本文件内容
getHour() - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取当前小时
getHour(long) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取时间戳指定的月份当中的小时
getMd5EnrtyptedString(String) - 类 中的静态方法cn.wshugen.lib.commons.security.DigestUtil
获取原始内容字符串的md5值
getMessage() - 异常错误 中的方法cn.wshugen.lib.commons.ScaleExceedException
 
getMessageBody() - 接口 中的方法cn.wshugen.lib.commons.email.EmailJob
获取消息体
getMessageBody() - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 
getMinute() - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取当前分钟数
getMinute(long) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取时间戳指定的分钟
getMonth() - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取当前月数
getMonth(long) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取时间戳指定的月份
getObject(Object, Object) - 类 中的静态方法cn.wshugen.lib.commons.ObjectHelper
获取默认对象
getPath(String) - 类 中的静态方法cn.wshugen.lib.commons.file.FileHelper
获取以"/"结尾的路径名
getProtectedEmail(String) - 类 中的静态方法cn.wshugen.lib.commons.StringHelper
获取受保护的email信息(email用户名部分须大于4字符)
getSecond() - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取当前秒数
getSecond(long) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取时间戳指定的秒数
getSHA1EncryptedString(String) - 类 中的静态方法cn.wshugen.lib.commons.security.DigestUtil
获取字符串的哈希值
getSmtpAccount() - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
getSmtpAuthType() - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
getSmtpFromAddr() - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
getSmtpFromName() - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
getSmtpHost() - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
getSmtpPort() - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
getSmtpSecureType() - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
getSmtpToken() - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
getStringXorMd5String(String, String) - 类 中的静态方法cn.wshugen.lib.commons.security.DigestUtil
字符串异或
getSubject() - 接口 中的方法cn.wshugen.lib.commons.email.EmailJob
获取邮件主题
getSubject() - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 
getSubject(String, String) - 类 中的静态方法cn.wshugen.lib.commons.StringHelper
获取主题字符串
getSubject(String) - 类 中的静态方法cn.wshugen.lib.commons.StringHelper
获取主题字符串
getToName() - 接口 中的方法cn.wshugen.lib.commons.email.EmailJob
获取收件人姓名
getToName() - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 
getYear() - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取当前年数
getYear(long) - 类 中的静态方法cn.wshugen.lib.commons.DateHelper
获取时间戳指定的年份

H

hasText(String, String) - 类 中的静态方法cn.wshugen.lib.commons.StringHelper
判断字符串中是否含另一字符串
hex2Bytes(String) - 类 中的静态方法cn.wshugen.lib.commons.security.DigestUtil
将16进制串转成字节数组
HtmlEmailPrototype - cn.wshugen.lib.commons.email中的类
HTML邮件类型原型
HtmlEmailPrototype() - 类 的构造器cn.wshugen.lib.commons.email.HtmlEmailPrototype
 

I

ImageHtmlEmailPrototype - cn.wshugen.lib.commons.email中的类
带图片的HTML邮件
ImageHtmlEmailPrototype() - 类 的构造器cn.wshugen.lib.commons.email.ImageHtmlEmailPrototype
 
isEmpty(String) - 类 中的静态方法cn.wshugen.lib.commons.StringHelper
空串检测
isFirefox(String) - 类 中的静态方法cn.wshugen.lib.commons.web.WebContextHelper
判断是否为火狐浏览器
isIE(String) - 类 中的静态方法cn.wshugen.lib.commons.web.WebContextHelper
判断是否为IE浏览器
isMacOSX(String) - 类 中的静态方法cn.wshugen.lib.commons.web.WebContextHelper
判断用户使用的操作系统是否为Mac OSX
isNotNull(Object) - 类 中的静态方法cn.wshugen.lib.commons.ObjectHelper
判断对象是否为非null
isNull(Object) - 类 中的静态方法cn.wshugen.lib.commons.ObjectHelper
判断对象是否为null
isNullOrEmpty(String) - 类 中的静态方法cn.wshugen.lib.commons.StringHelper
检测是否为null或空串
isSendable() - 接口 中的方法cn.wshugen.lib.commons.email.EmailJob
判断邮件是否能够发送
isUnixLike(String) - 类 中的静态方法cn.wshugen.lib.commons.web.WebContextHelper
判断用户使用的操作系统是否为Linux
isWindowsNT(String) - 类 中的静态方法cn.wshugen.lib.commons.web.WebContextHelper
判断用户使用的操作系统是否为Windows

J

JsonHelper - cn.wshugen.lib.commons中的类
Json处理辅助类

L

loadFont(String, float) - 类 中的方法cn.wshugen.lib.commons.security.web.Verify
载入外部字体
loadListObjectFromJson(String, Class<?>) - 类 中的静态方法cn.wshugen.lib.commons.JsonHelper
将Json字符串解析为列表对象
loadObjectFromJson(String, Class<?>) - 类 中的静态方法cn.wshugen.lib.commons.JsonHelper
将Json字符串解析为对象

M

MultiPartEmailPrototype - cn.wshugen.lib.commons.email中的类
带附件的邮件类型
MultiPartEmailPrototype() - 类 的构造器cn.wshugen.lib.commons.email.MultiPartEmailPrototype
 

O

ObjectHelper - cn.wshugen.lib.commons中的类
对象辅助类
objectToString(Object) - 类 中的静态方法cn.wshugen.lib.commons.ObjectHelper
将对象转换为可显示的字符串
onCreate() - 接口 中的方法cn.wshugen.lib.commons.email.EmailJob
邮件创建后回调
onCreate() - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 
onFailed() - 接口 中的方法cn.wshugen.lib.commons.email.EmailJob
邮件发送失败时回调
onFailed() - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 
onSuccess() - 接口 中的方法cn.wshugen.lib.commons.email.EmailJob
邮件发送时成功回调
onSuccess() - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 

R

removeDirectory(File) - 类 中的静态方法cn.wshugen.lib.commons.file.FileHelper
递归删除目录下的所有文件及子目录下所有文件
removeTags(String) - 类 中的静态方法cn.wshugen.lib.commons.StringHelper
移除标签
replaceStringWithMap(String, Map<String, String>) - 类 中的静态方法cn.wshugen.lib.commons.StringHelper
将字符创content中的包含为replaceMap键的内容替换为其值
run() - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpMailTask
 

S

ScaleExceedException - cn.wshugen.lib.commons中的异常错误
调整的幅度超出范围异常
ScaleExceedException() - 异常错误 的构造器cn.wshugen.lib.commons.ScaleExceedException
 
sendAttachmentEmail(String, String, String, String, EmailAttachment...) - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpMailProvider
发送带附件的邮件(可包含多个附件)
sendHtmlEmail(String, String, String, String) - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpMailProvider
发送HTML格式的邮件
sendImageHtmlEmail(String, String, String, String, String) - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpMailProvider
发送带图片的HTML邮件
sendTextEmail(String, String, String, String) - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpMailProvider
发送纯文本邮件
setAddressTo(String) - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 
setMessageBody(String) - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 
setSmtpAccount(String) - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
setSmtpAuthType(boolean) - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
setSmtpFromAddr(String) - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
setSmtpFromName(String) - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
setSmtpHost(String) - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
setSmtpPort(int) - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
setSmtpSecureType(String) - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
setSmtpToken(String) - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
setSubject(String) - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 
setToName(String) - 类 中的方法cn.wshugen.lib.commons.email.EmailJobAdpter
 
SimpleEmailPrototype - cn.wshugen.lib.commons.email中的类
SimpleEmail包装类,用于提供原型
SimpleEmailPrototype() - 类 的构造器cn.wshugen.lib.commons.email.SimpleEmailPrototype
 
SmtpConfiguration - cn.wshugen.lib.commons.email.smtp中的类
Email发信配置信息
SmtpConfiguration() - 类 的构造器cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 
SmtpMailProvider - cn.wshugen.lib.commons.email.smtp中的类
该邮件发送器主要封装了发送的复杂步骤,使用单例是为了不会使配置项重复被加载
SmtpMailProvider(SmtpConfiguration) - 类 的构造器cn.wshugen.lib.commons.email.smtp.SmtpMailProvider
私有化构造子
SmtpMailTask - cn.wshugen.lib.commons.email.smtp中的类
邮件发送线程
SmtpMailTask(EmailJob, SmtpMailProvider) - 类 的构造器cn.wshugen.lib.commons.email.smtp.SmtpMailTask
 
StringHelper - cn.wshugen.lib.commons中的类
字符串辅助类

T

toString() - 类 中的方法cn.wshugen.lib.commons.email.smtp.SmtpConfiguration
 

U

unescapeHtmlSpecialChars(String) - 类 中的静态方法cn.wshugen.lib.commons.StringHelper
将实体化的字符串还原为特殊字符

V

ValidationHelper - cn.wshugen.lib.commons中的类
校验辅助类
Verify - cn.wshugen.lib.commons.security.web中的类
验证码类
Verify(Map<String, Object>) - 类 的构造器cn.wshugen.lib.commons.security.web.Verify
 
Verify() - 类 的构造器cn.wshugen.lib.commons.security.web.Verify
 

W

WebContextHelper - cn.wshugen.lib.commons.web中的类
 
WebContextHelper() - 类 的构造器cn.wshugen.lib.commons.web.WebContextHelper
 

Z

zip(String, String, String) - 类 中的静态方法cn.wshugen.lib.commons.file.ZipHelper
对文件或文件目录进行压缩
zipCompress(File, File...) - 类 中的静态方法cn.wshugen.lib.commons.file.FileHelper
压缩文件 TODO
ZipHelper - cn.wshugen.lib.commons.file中的类
 
ZipHelper() - 类 的构造器cn.wshugen.lib.commons.file.ZipHelper
 

_

_config - 类 中的变量cn.wshugen.lib.commons.security.web.Verify
验证码配置
A B C D E F G H I J L M O R S T U V W Z _ 
跳过导航链接