跳过导航链接
A B C D F G H I L M N O P R S T V Y 

A

AT - 接口 中的静态变量com.lmaye.app.common.constants.CoreConstants
 

B

BIRTH_DATE_FORMAT - 类 中的静态变量com.lmaye.app.common.utils.IDCardUtils
身份证号码中的出生日期的格式
bitToByte(String) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
Bit转byte
bytes(CharSequence) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
编码字符串 - 使用系统默认编码
bytes(CharSequence, Charset) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
编码字符串
bytesToInt(byte[]) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
字节数组转int
byteTobit(byte) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
Byte转bit
byteToStr(byte[]) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
byte数组转字符串

C

calculateVerifyCode(CharSequence) - 类 中的静态方法com.lmaye.app.common.utils.IDCardUtils
校验码(第十八位数):
十七位数字本体码加权求和公式 S = Sum(Ai * Wi), i = 0...16 ,先对前17位数字的权求和; Ai:表示第i位置上的身份证号码数字值 Wi:表示第i位置上的加权因子 Wi: 7 9 10 5 8 4 2 1 6 3 7 9 10 5 8 4 2; 计算模 Y = mod(S, 11) 通过模得到对应的校验码 Y: 0 1 2 3 4 5 6 7 8 9 10 校验码: 1 0 X 9 8 7 6 5 4 3 2
checkWhites(List<String>, String) - 类 中的静态方法com.lmaye.app.common.utils.RequestUriUtils
校验白名单
com.lmaye.app.common.constants - 程序包 com.lmaye.app.common.constants
 
com.lmaye.app.common.context - 程序包 com.lmaye.app.common.context
 
com.lmaye.app.common.exception - 程序包 com.lmaye.app.common.exception
 
com.lmaye.app.common.utils - 程序包 com.lmaye.app.common.utils
 
convertToNewCardNumber(String) - 类 中的静态方法com.lmaye.app.common.utils.IDCardUtils
把15位身份证号码转换到18位身份证号码
15位身份证号码与18位身份证号码的区别为:
1、15位身份证号码中,"出生年份"字段是2位,转换时需要补入"19",表示20世纪
2、15位身份证无最后一位校验码。
CoreConstants - com.lmaye.app.common.constants中的接口
-- 常量
CoreException - com.lmaye.app.common.exception中的异常错误
-- 通用自定义异常
CoreException(IResultCode) - 异常错误 的构造器com.lmaye.app.common.exception.CoreException
 
CoreException(IResultCode, Throwable) - 异常错误 的构造器com.lmaye.app.common.exception.CoreException
 
CoreUtils - com.lmaye.app.common.utils中的类
-- 核心工具
CoreUtils() - 类 的构造器com.lmaye.app.common.utils.CoreUtils
 
createBirthDateParser() - 类 中的静态方法com.lmaye.app.common.utils.IDCardUtils
格式化出生日期

D

date2TimeStamp(Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取Unix时间戳
DATE_REGEX - 类 中的静态变量com.lmaye.app.common.utils.DateUtils
 
dateDiff(Date, Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
两个日期相减得到的毫秒数
DateUtils - com.lmaye.app.common.utils中的类
-- 日期工具
DateUtils() - 类 的构造器com.lmaye.app.common.utils.DateUtils
 
digitUppercase(long) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
金额大小写转换

F

filterUrls(String, String) - 类 中的静态方法com.lmaye.app.common.utils.RequestUriUtils
通配符模式
format(Date, String) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
格式化日期 - eg: yyyy-MM-dd HH:mm:ss
fromJson(String, Class<T>) - 类 中的静态方法com.lmaye.app.common.utils.GsonUtils
把Json字符串转成JAVA对象

G

generateStr(int) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
生产随机字符串
generateUuid() - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
生成32位的Uuid
getAddressCode(String) - 类 中的静态方法com.lmaye.app.common.utils.IDCardUtils
获取地址编码
getAgeFromBirthTime(Date) - 类 中的静态方法com.lmaye.app.common.utils.IDCardUtils
根据年月日计算年龄
getAgeFromBirthTime(long) - 类 中的静态方法com.lmaye.app.common.utils.IDCardUtils
根据时间戳计算年龄
getBeginDayOfMonth() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取本月的开始时间
getBeginDayOfTomorrow() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取明天的开始时间
getBeginDayOfWeek() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取本周的开始时间
getBeginDayOfYear() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取本年的开始时间
getBeginDayOfYesterday() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取昨天的开始时间
getBirthDate(String) - 类 中的静态方法com.lmaye.app.common.utils.IDCardUtils
获取出生日期
getBirthDayPart(String) - 类 中的静态方法com.lmaye.app.common.utils.IDCardUtils
获取出生日期字符串
getCode() - 接口 中的方法com.lmaye.app.common.context.IResultCode
获取代码
getCode() - 枚举 中的方法com.lmaye.app.common.context.ResultCode
 
getConstellation(Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
根据日期获取星座
getCRC(byte[]) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
计算CRC16校验码
getCurrentTimeStamp(String) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取当前时间Time Stamp
getDataCenterId() - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
数据标识id部分
getDayBegin() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取当天的开始时间 - 格式: yyyy-MM-dd HH:mm:ss
getDayEnd() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取当天的结束时间
getDayEndTime(Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取某个日期的结束时间
getDayStartTime(Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取某个日期的开始时间
getDesc() - 接口 中的方法com.lmaye.app.common.context.IResultCode
获取消息
getDesc() - 枚举 中的方法com.lmaye.app.common.context.ResultCode
 
getDiffDays(Date, Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
两个日期相减得到的天数
getEndDayOfMonth() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取本月的结束时间
getEndDayOfTomorrow() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取明天的结束时间
getEndDayOfWeek() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取本周的结束时间
getEndDayOfYear() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取本年的结束时间
getEndDayOfYesterday() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取昨天的结束时间
getEndMonthDate(int, int) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取某年某月的最后一天
getFirstSeasonDate(Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
返回某月该季度的第一个月
getFrontMonth(Date, int) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
返回某个日期前几月的日期
getGenderCode(String) - 类 中的静态方法com.lmaye.app.common.utils.IDCardUtils
获取身份证的第17位,奇数为男性,偶数为女性
getKey() - 接口 中的方法com.lmaye.app.common.context.IResultCode
获取Key
getKey() - 枚举 中的方法com.lmaye.app.common.context.ResultCode
 
getMapValue(String, Map<String, Object>) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
根据参数名获取参数值
getMaxLengthString(String, int) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
获取最大长度的字符串 - length - 3
getNextDay(Date, int) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
返回某个日期下几天的日期
getNextHour(Date, int) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
返回某个日期下几个小时的日期
getNextMonth(Date, int) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
返回某个日期下几月的日期
getNextYear(Date, int) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
返回某个日期下几年的日期
getNowMonth() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取本月是哪一月
getNowYear() - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取今年是哪一年
getRandomNumber(int) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
获取随机数(字母、数字)
getRandomNumberForNumbers(int) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
获取随机数(数字)
getRegPath(String) - 类 中的静态方法com.lmaye.app.common.utils.RequestUriUtils
将通配符表达式转化为正则表达式
getResultCode() - 异常错误 中的方法com.lmaye.app.common.exception.CoreException
获取错误信息
getResultCode() - 异常错误 中的方法com.lmaye.app.common.exception.HandleException
获取错误信息
getResultCode() - 异常错误 中的方法com.lmaye.app.common.exception.ServiceException
获取错误信息
getStartMonthDate(int, int) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取某年某月的第一天
getTimeList(int, int, int, int, int) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取某年某月到某年某月按天的切片日期集合(间隔天数的日期集合)
getTimeList(int, int, int) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取某年某月按天切片日期集合(某个月间隔多少天的日期集合)
getUuid() - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
获取32位的UUID - 去-符号
getWhichDay(Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取某个日期是哪一天
getWhichMonth(Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取某个日期是哪一月
getWhichWeek(Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取某个日期是周几
getZodica(Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
根据日期获取生肖
GsonUtils - com.lmaye.app.common.utils中的类
-- Json 转换工具
GsonUtils() - 类 的构造器com.lmaye.app.common.utils.GsonUtils
 

H

HandleException - com.lmaye.app.common.exception中的异常错误
-- 处理自定义异常
HandleException(IResultCode) - 异常错误 的构造器com.lmaye.app.common.exception.HandleException
 
HandleException(IResultCode, Throwable) - 异常错误 的构造器com.lmaye.app.common.exception.HandleException
 
HH_MM_SS - 接口 中的静态变量com.lmaye.app.common.constants.CoreConstants
日期时间格式: HH:mm:ss
hideString(String, int, int) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
隐藏字符串
hideString(String, int, int) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
隐藏字符串
humpNameToUnderline(String) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
驼峰命名转下划线

I

IDCardUtils - com.lmaye.app.common.utils中的类
-- 身份证工具
IDCardUtils() - 类 的构造器com.lmaye.app.common.utils.IDCardUtils
 
IdUtils - com.lmaye.app.common.utils中的类
-- ID 工具类
IdUtils() - 类 的构造器com.lmaye.app.common.utils.IdUtils
 
indexOf(CharSequence, CharSequence, int, boolean) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
指定范围内反向查找字符串
indexOfIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
指定范围内查找字符串,忽略大小写
StrUtil.indexOfIgnoreCase(null, *, *) = -1 StrUtil.indexOfIgnoreCase(*, null, *) = -1 StrUtil.indexOfIgnoreCase("", "", 0) = 0 StrUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2 StrUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1 StrUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2 StrUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2 StrUtil.indexOfIgnoreCase("abc", "", 9) = -1
indexOfIgnoreCase(CharSequence, CharSequence, int) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
指定范围内查找字符串 StrUtil.indexOfIgnoreCase(null, *, *) = -1 StrUtil.indexOfIgnoreCase(*, null, *) = -1 StrUtil.indexOfIgnoreCase("", "", 0) = 0 StrUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2 StrUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1 StrUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2 StrUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2 StrUtil.indexOfIgnoreCase("abc", "", 9) = -1
intToBytes(int) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
整形转字节数组
IResultCode - com.lmaye.app.common.context中的接口
-- 响应编码
isFemale(String) - 类 中的静态方法com.lmaye.app.common.utils.IDCardUtils
isMale(String) - 类 中的静态方法com.lmaye.app.common.utils.IDCardUtils
isSubEquals(CharSequence, int, CharSequence, int, int, boolean) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
截取两个字符串的不同部分(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false

L

localToUtc(Date) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
本地时间转化为UTC时间
longToHex(long) - 类 中的静态方法com.lmaye.app.common.utils.CoreUtils
长整型转Hex并格式化

M

max(Date, Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取两个日期中的最大日期
min(Date, Date) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
获取两个日期中的最小日期
MINIMAL_BIRTH_DATE - 类 中的静态变量com.lmaye.app.common.utils.IDCardUtils
身份证的最小出生日期,1900年1月1日
MONTH_REGEX - 类 中的静态变量com.lmaye.app.common.utils.DateUtils
 

N

NEW_CARD_NUMBER_LENGTH - 类 中的静态变量com.lmaye.app.common.utils.IDCardUtils
 
nextId() - 类 中的静态方法com.lmaye.app.common.utils.IdUtils
生成ID
nextStrId() - 类 中的静态方法com.lmaye.app.common.utils.IdUtils
生成ID

O

OLD_CARD_NUMBER_LENGTH - 类 中的静态变量com.lmaye.app.common.utils.IDCardUtils
 

P

parse(String, String) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
格式化日期

R

repeat(String, int) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
重复字符串
RequestUriUtils - com.lmaye.app.common.utils中的类
-- 请求路径工具类
RequestUriUtils() - 类 的构造器com.lmaye.app.common.utils.RequestUriUtils
 
ResultCode - com.lmaye.app.common.context中的枚举
-- 响应编码 - 枚举

S

ServiceException - com.lmaye.app.common.exception中的异常错误
-- 业务自定义异常
ServiceException(IResultCode) - 异常错误 的构造器com.lmaye.app.common.exception.ServiceException
 
ServiceException(IResultCode, Throwable) - 异常错误 的构造器com.lmaye.app.common.exception.ServiceException
 
Sex - com.lmaye.app.common.constants中的枚举
-- 性别枚举
SIMPLE_DATE_FORMAT - 接口 中的静态变量com.lmaye.app.common.constants.CoreConstants
简单日期格式: yyyy-MM-dd HH:mm:ss
sliceUpDateRange(String, String) - 类 中的静态方法com.lmaye.app.common.utils.DateUtils
时间范围 - 切片 - eg: ----------------------- sliceUpDateRange("2018", "2020"); {date=2018, nextDate=2019} {date=2019, nextDate=2020} {date=2020, nextDate=2021} ----------------------- sliceUpDateRange("2018-06", "2018-08"); {date=2018-06, nextDate=2018-07} {date=2018-07, nextDate=2018-08} {date=2018-08, nextDate=2018-09} ----------------------- sliceUpDateRange("2018-06-30", "2018-07-02"); {date=2018-06-30, nextDate=2018-07-01} {date=2018-07-01, nextDate=2018-07-02} {date=2018-07-02, nextDate=2018-07-03}
Status - com.lmaye.app.common.constants中的枚举
-- 状态枚举
str(byte[]) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
解码字节码
str(byte[], Charset) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
解码字节码
StringCoreUtils - com.lmaye.app.common.utils中的类
-- 字符串操作工具类
StringCoreUtils() - 类 的构造器com.lmaye.app.common.utils.StringCoreUtils
 
substr(String, int) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
截取字符串,如果超出最大长度,则截取到最大长度-3的位数再加上“...”
substr(String, int, int) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
截取字符串,被截掉的部分用*代替

T

TIME_END_POSTFIX - 类 中的静态变量com.lmaye.app.common.utils.DateUtils
结束时间范围后缀
TIME_START_POSTFIX - 类 中的静态变量com.lmaye.app.common.utils.DateUtils
开始时间范围后缀
TIME_ZONE - 接口 中的静态变量com.lmaye.app.common.constants.CoreConstants
时区: GMT-8
toJson(Object) - 类 中的静态方法com.lmaye.app.common.utils.GsonUtils
把Java对象转成字符串
toUnderline(String) - 类 中的静态方法com.lmaye.app.common.utils.StringCoreUtils
转下划线

V

validate(String) - 类 中的静态方法com.lmaye.app.common.utils.IDCardUtils
校验身份证号码
valueOf(String) - 枚举 中的静态方法com.lmaye.app.common.constants.Sex
返回带有指定名称的该类型的枚举常量。
valueOf(Integer) - 枚举 中的静态方法com.lmaye.app.common.constants.Sex
获取枚举对象
valueOf(String) - 枚举 中的静态方法com.lmaye.app.common.constants.Status
返回带有指定名称的该类型的枚举常量。
valueOf(Integer) - 枚举 中的静态方法com.lmaye.app.common.constants.Status
获取枚举对象
valueOf(String) - 枚举 中的静态方法com.lmaye.app.common.constants.YesOrNo
返回带有指定名称的该类型的枚举常量。
valueOf(Integer) - 枚举 中的静态方法com.lmaye.app.common.constants.YesOrNo
获取枚举对象
valueOf(String) - 枚举 中的静态方法com.lmaye.app.common.context.ResultCode
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.lmaye.app.common.constants.Sex
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.lmaye.app.common.constants.Status
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.lmaye.app.common.constants.YesOrNo
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.lmaye.app.common.context.ResultCode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
VERIFY_CODE - 类 中的静态变量com.lmaye.app.common.utils.IDCardUtils
18位身份证中最后一位校验码
VERIFY_CODE_WEIGHT - 类 中的静态变量com.lmaye.app.common.utils.IDCardUtils
18位身份证中,各个数字的生成校验码时的权值
VERSION - 接口 中的静态变量com.lmaye.app.common.constants.CoreConstants
版本号(默认)

Y

YEAR_REGEX - 类 中的静态变量com.lmaye.app.common.utils.DateUtils
日期正则表达式
YesOrNo - com.lmaye.app.common.constants中的枚举
-- 是/否枚举
YYYY_MM_DD - 接口 中的静态变量com.lmaye.app.common.constants.CoreConstants
日期时间格式: yyyy-MM-dd
YYYY_MM_DD_HH_MM_SS - 接口 中的静态变量com.lmaye.app.common.constants.CoreConstants
日期时间格式: yyyy-MM-dd HH:mm:ss
A B C D F G H I L M N O P R S T V Y 
跳过导航链接

Copyright © 2021. All rights reserved.