您的浏览器已禁用 JavaScript。
跳过导航链接
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
A
C
D
E
F
G
H
I
L
M
N
P
R
S
T
U
Y
A
addSeconds(Integer)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
当前时间增加若干秒
appendZero(String, int)
- 类 中的静态方法com.github.codeinghelper.util.
StringUtil
位数不足补0
C
calcIntervalDays(String, String)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
计算两个时间间隔的天数
calcIntervalDays(Date, Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
计算两个时间的间隔天数
calcIntervalMinutes(Date, Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
计算两个时间的间隔小时,只会整除
calcIntervalOurs(Date, Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
计算两个时间的间隔小时,只会整除
castDouble(Object, double)
- 类 中的静态方法com.github.codeinghelper.util.
StringUtil
castInt(Object, int)
- 类 中的静态方法com.github.codeinghelper.util.
StringUtil
转为int型(提供默认值)
castString(Object, String)
- 类 中的静态方法com.github.codeinghelper.util.
StringUtil
code
- 异常错误 中的变量com.github.codeinghelper.exception.http.
HttpException
com.github.codeinghelper.annotation.validator
- 程序包 com.github.codeinghelper.annotation.validator
com.github.codeinghelper.configuration
- 程序包 com.github.codeinghelper.configuration
com.github.codeinghelper.exception
- 程序包 com.github.codeinghelper.exception
com.github.codeinghelper.exception.http
- 程序包 com.github.codeinghelper.exception.http
com.github.codeinghelper.response
- 程序包 com.github.codeinghelper.response
com.github.codeinghelper.util
- 程序包 com.github.codeinghelper.util
CreateSuccess
-
com.github.codeinghelper.exception
中的异常错误
CreateSuccess(int)
- 异常错误 的构造器com.github.codeinghelper.exception.
CreateSuccess
createSuccess(int)
- 类 中的静态方法com.github.codeinghelper.response.
UnifyResponse
D
dateToShortDateString(Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
dateToString(Date, String)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
dateToVoString(Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
全站时间展示规范 1分钟内:刚刚 超过1分钟并在1小时内:某分钟前 (1分钟前) 超过1小时并在当日内:某小时前(1小时前) 昨天:昨天 + 小时分钟(昨天 08:30) 昨天之前并在当年内:某月某日 + 小时分钟(1月1日 08:30) 隔年:某年某月某日 + 小时分钟(2015年1月1日 08:30)
DateUtil
-
com.github.codeinghelper.util
中的类
DateUtil()
- 类 的构造器com.github.codeinghelper.util.
DateUtil
dayOfWeek(Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
返回日期对应的是星期几
DeleteSuccess
-
com.github.codeinghelper.exception
中的异常错误
DeleteSuccess(int)
- 异常错误 的构造器com.github.codeinghelper.exception.
DeleteSuccess
E
endTime(Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
获取传入当日最后一刻
ExceptionCodeConfiguration
-
com.github.codeinghelper.configuration
中的类
ExceptionCodeConfiguration()
- 类 的构造器com.github.codeinghelper.configuration.
ExceptionCodeConfiguration
F
ForbiddenException
-
com.github.codeinghelper.exception.http
中的异常错误
ForbiddenException(int)
- 异常错误 的构造器com.github.codeinghelper.exception.http.
ForbiddenException
G
getCode()
- 异常错误 中的方法com.github.codeinghelper.exception.http.
HttpException
getCode()
- 类 中的方法com.github.codeinghelper.response.
UnifyResponse
getCodes()
- 类 中的方法com.github.codeinghelper.configuration.
ExceptionCodeConfiguration
getCurrentDate()
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
getData()
- 类 中的方法com.github.codeinghelper.response.
UnifyResponse
getDay(Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
获取日期
getHttpStatusCode()
- 异常错误 中的方法com.github.codeinghelper.exception.http.
HttpException
getIntervalDaysDate(Date, int)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
获取指定间隔天数的日期
getIntervalHourDate(Date, int)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
获取间隔的几个小时,如需要获取之前的3小时,hours传-3
getMatches(String, CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
获取正则匹配的部分
getMessage(int)
- 类 中的方法com.github.codeinghelper.configuration.
ExceptionCodeConfiguration
getMessage()
- 类 中的方法com.github.codeinghelper.response.
UnifyResponse
getMonth(Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
获取月份
getMonthFirstDay(int, int)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
获取某月的第一天
getMonthLastDay(int, int)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
获取某月的最后一天
getNow()
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
getPercentage(Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
获取指定日期百分百
getReplaceAll(String, String, String)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
替换所有正则匹配的部分
getReplaceFirst(String, String, String)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
替换正则匹配的第一部分
getRequest()
- 类 中的方法com.github.codeinghelper.response.
UnifyResponse
getSplits(String, String)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
获取正则匹配分组
getTodayMinutes()
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
获取今天的分钟数,如今天18:05,则返回1805
getUUID()
- 类 中的静态方法com.github.codeinghelper.util.
StringUtil
获取一段唯一的字符串
getYear(Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
获取年份
GlobalExceptionAdvice
-
com.github.codeinghelper.exception
中的类
GlobalExceptionAdvice()
- 类 的构造器com.github.codeinghelper.exception.
GlobalExceptionAdvice
H
handleBeanValidation(HttpServletRequest, MethodArgumentNotValidException)
- 类 中的方法com.github.codeinghelper.exception.
GlobalExceptionAdvice
handleConstraintException(HttpServletRequest, ConstraintViolationException)
- 类 中的方法com.github.codeinghelper.exception.
GlobalExceptionAdvice
handleException(HttpServletRequest, Exception)
- 类 中的方法com.github.codeinghelper.exception.
GlobalExceptionAdvice
handleForbiddenException(HttpServletRequest, ForbiddenException)
- 类 中的方法com.github.codeinghelper.exception.
GlobalExceptionAdvice
handleHttpException(HttpServletRequest, HttpException)
- 类 中的方法com.github.codeinghelper.exception.
GlobalExceptionAdvice
handleParameterException(HttpServletRequest, ParameterException)
- 类 中的方法com.github.codeinghelper.exception.
GlobalExceptionAdvice
handleUnAuthenticatedException(HttpServletRequest, UnAuthenticatedException)
- 类 中的方法com.github.codeinghelper.exception.
GlobalExceptionAdvice
haveBrackets(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
是否包含括号
HttpException
-
com.github.codeinghelper.exception.http
中的异常错误
HttpException()
- 异常错误 的构造器com.github.codeinghelper.exception.http.
HttpException
httpStatusCode
- 异常错误 中的变量com.github.codeinghelper.exception.http.
HttpException
I
initialize(Length)
- 类 中的方法com.github.codeinghelper.annotation.validator.
LengthValidator
initialize(NotBlank)
- 类 中的方法com.github.codeinghelper.annotation.validator.
NotBlankValidator
initialize(NotEmpty)
- 类 中的方法com.github.codeinghelper.annotation.validator.
NotEmptyValidator
initialize(NotNull)
- 类 中的方法com.github.codeinghelper.annotation.validator.
NotNullValidator
isDate(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证yyyy-MM-dd格式的日期校验,已考虑平闰年
isEmail(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证邮箱
isEmptyOrNull(String)
- 类 中的静态方法com.github.codeinghelper.util.
StringUtil
判断字符是否为空
isIDCard15(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证身份证号码15位
isIDCard18(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证身份证号码18位
isIP(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证IP地址
isLeap(int)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
判断是否是闰年
isLetter(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证是否只包含字母
isLetterAndNum(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
isMatch(String, CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
判断是否匹配正则
isMobileExact(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证手机号(精确)
isMobileSimple(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证手机号(简单)
isNumeric(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证是否只有数字
isPositiveFloat(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证是否是正浮点数
isSameDay(Date, Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
比较两个时间是否是相同的天数
isTel(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证电话号码
isURL(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证URL
isUsername(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证用户名 取值范围为a-z,A-Z,0-9,"_",汉字,不能以"_"结尾,用户名必须是6-20位
isValid(String, ConstraintValidatorContext)
- 类 中的方法com.github.codeinghelper.annotation.validator.
LengthValidator
isValid(String, ConstraintValidatorContext)
- 类 中的方法com.github.codeinghelper.annotation.validator.
NotBlankValidator
isValid(Object, ConstraintValidatorContext)
- 类 中的方法com.github.codeinghelper.annotation.validator.
NotEmptyValidator
isValid(Object, ConstraintValidatorContext)
- 类 中的方法com.github.codeinghelper.annotation.validator.
NotNullValidator
isZh(CharSequence)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
验证汉字
L
Length
-
com.github.codeinghelper.annotation.validator
中的注释类型
LengthValidator
-
com.github.codeinghelper.annotation.validator
中的类
LengthValidator()
- 类 的构造器com.github.codeinghelper.annotation.validator.
LengthValidator
M
MILLISECONDS_FOR_ONE_DAY
- 类 中的静态变量com.github.codeinghelper.util.
DateUtil
MILLISECONDS_FOR_ONE_HOUR
- 类 中的静态变量com.github.codeinghelper.util.
DateUtil
MILLISECONDS_FOR_ONE_MINUTE
- 类 中的静态变量com.github.codeinghelper.util.
DateUtil
MMDD_CHINESE
- 类 中的静态变量com.github.codeinghelper.util.
DateUtil
N
NotBlank
-
com.github.codeinghelper.annotation.validator
中的注释类型
NotBlankValidator
-
com.github.codeinghelper.annotation.validator
中的类
NotBlankValidator()
- 类 的构造器com.github.codeinghelper.annotation.validator.
NotBlankValidator
NotEmpty
-
com.github.codeinghelper.annotation.validator
中的注释类型
NotEmptyValidator
-
com.github.codeinghelper.annotation.validator
中的类
NotEmptyValidator()
- 类 的构造器com.github.codeinghelper.annotation.validator.
NotEmptyValidator
NotFoundException
-
com.github.codeinghelper.exception.http
中的异常错误
NotFoundException(int)
- 异常错误 的构造器com.github.codeinghelper.exception.http.
NotFoundException
NotNull
-
com.github.codeinghelper.annotation.validator
中的注释类型
NotNullValidator
-
com.github.codeinghelper.annotation.validator
中的类
NotNullValidator()
- 类 的构造器com.github.codeinghelper.annotation.validator.
NotNullValidator
P
ParameterException
-
com.github.codeinghelper.exception.http
中的异常错误
ParameterException(int)
- 异常错误 的构造器com.github.codeinghelper.exception.http.
ParameterException
R
REGEX_BLANK_LINE
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:空白行
REGEX_BRACKETS
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:是否包含括号
REGEX_DATE
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:yyyy-MM-dd格式的日期校验,已考虑平闰年
REGEX_DOUBLE_BYTE_CHAR
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:双字节字符(包括汉字在内)
REGEX_EMAIL
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:邮箱
REGEX_ID_CARD15
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:身份证号码15位
REGEX_ID_CARD18
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:身份证号码18位
REGEX_INTEGER
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:整数
REGEX_IP
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:IP地址
REGEX_LETTER
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:只有字母
REGEX_MOBILE_EXACT
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:手机号(精确) 移动:134(0-8)、135、136、137、138、139、147、150、151、152、157、158、159、178、182、183、184、187、188 联通:130、131、132、145、155、156、175、176、185、186 电信:133、153、173、177、180、181、189、199 全球星:1349 虚拟运营商:170、171
REGEX_MOBILE_SIMPLE
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:手机号(简单)
REGEX_NEGATIVE_FLOAT
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:负浮点数
REGEX_NEGATIVE_INTEGER
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:负整数
REGEX_NOT_NEGATIVE_INTEGER
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:非负整数(正整数 + 0)
REGEX_NOT_POSITIVE_INTEGER
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:非正整数(负整数 + 0)
REGEX_NUMBER
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:只有数字
REGEX_NUMBER_LETTER
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:字母、数字及下划线
REGEX_POSITIVE_FLOAT
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:正浮点数
REGEX_POSITIVE_INTEGER
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:正整数
REGEX_TEL
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:电话号码
REGEX_TENCENT_NUM
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:QQ号
REGEX_URL
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:URL
REGEX_USERNAME
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:用户名,取值范围为a-z,A-Z,0-9,"_",汉字,不能以"_"结尾,用户名必须是6-20位
REGEX_ZH
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:汉字
REGEX_ZIP_CODE
- 类 中的静态变量com.github.codeinghelper.util.
RegexUtils
正则:中国邮政编码
RegexUtils
-
com.github.codeinghelper.util
中的类
removeContentInBrackets(String)
- 类 中的静态方法com.github.codeinghelper.util.
RegexUtils
移除括号及所有的括号内的的内容
replaceString(String, String, String)
- 类 中的静态方法com.github.codeinghelper.util.
StringUtil
replaceString(String, Map<String, String>)
- 类 中的静态方法com.github.codeinghelper.util.
StringUtil
批量替换字符
S
ServerErrorException
-
com.github.codeinghelper.exception.http
中的异常错误
ServerErrorException(int)
- 异常错误 的构造器com.github.codeinghelper.exception.http.
ServerErrorException
setCode(int)
- 类 中的方法com.github.codeinghelper.response.
UnifyResponse
setCodes(Map<Integer, String>)
- 类 中的方法com.github.codeinghelper.configuration.
ExceptionCodeConfiguration
setData(Object)
- 类 中的方法com.github.codeinghelper.response.
UnifyResponse
setMessage(String)
- 类 中的方法com.github.codeinghelper.response.
UnifyResponse
setRequest(String)
- 类 中的方法com.github.codeinghelper.response.
UnifyResponse
startTime(Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
获取传入当日0点
stringToDate(String)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
将String转成Date,默认时区东八区,TimeZone.getTimeZone("Asia/Shanghai")
StringUtil
-
com.github.codeinghelper.util
中的类
StringUtil()
- 类 的构造器com.github.codeinghelper.util.
StringUtil
subArr2String(int, int, char[])
- 类 中的静态方法com.github.codeinghelper.util.
StringUtil
将字符数组的子集合成新的字符串
subArr2String(int, int, String[], String)
- 类 中的静态方法com.github.codeinghelper.util.
StringUtil
将字符串数组的子串合成一个新的字符串
T
toCalendar(Date)
- 类 中的静态方法com.github.codeinghelper.util.
DateUtil
将Date转成Calendar
U
UnAuthenticatedException
-
com.github.codeinghelper.exception.http
中的异常错误
UnAuthenticatedException(int)
- 异常错误 的构造器com.github.codeinghelper.exception.http.
UnAuthenticatedException
UnifyResponse
-
com.github.codeinghelper.response
中的类
UnifyResponse(int, String, String)
- 类 的构造器com.github.codeinghelper.response.
UnifyResponse
UpdateSuccess
-
com.github.codeinghelper.exception
中的异常错误
UpdateSuccess(int)
- 异常错误 的构造器com.github.codeinghelper.exception.
UpdateSuccess
Y
YYYYMMDD
- 类 中的静态变量com.github.codeinghelper.util.
DateUtil
YYYYMMDD_CHINESE
- 类 中的静态变量com.github.codeinghelper.util.
DateUtil
YYYYMMDDHHMM_CHINESE
- 类 中的静态变量com.github.codeinghelper.util.
DateUtil
YYYYMMDDHHMMSS
- 类 中的静态变量com.github.codeinghelper.util.
DateUtil
YYYYMMDDHHMMSSSSS
- 类 中的静态变量com.github.codeinghelper.util.
DateUtil
A
C
D
E
F
G
H
I
L
M
N
P
R
S
T
U
Y
跳过导航链接
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
Copyright © 2020. All rights reserved.