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

A

arr2List(T[]) - 类 中的静态方法org.huiche.core.util.DataUtil
数组转集合
Assert - org.huiche.core.util中的类
断言工具类,常用于逻辑处理,抛出异常以便返回错误信息
Assert() - 类 的构造器org.huiche.core.util.Assert
 

B

BaseError - org.huiche.core.exception中的接口
异常错误接口,可以通过实现此类(建议使用枚举),来定义异常,另外请code值在1000以上,因为1000以下系统默认留给http状态码使用

C

CaptchaUtil - org.huiche.core.util中的类
验证码工具类
CaptchaUtil() - 类 的构造器org.huiche.core.util.CaptchaUtil
 
check(Object...) - 接口 中的方法org.huiche.core.validation.ValidationUtil
验证是否存在错误
checkAndThrow(Object...) - 接口 中的方法org.huiche.core.validation.ValidationUtil
验证并抛出异常
checkLength(String, int, int) - 类 中的静态方法org.huiche.core.util.CheckUtil
检查字符串字符长度是否在范围内
checkLength(String, int) - 类 中的静态方法org.huiche.core.util.CheckUtil
检查字符串是否不超过多少个字符
checkRegExp(String, String) - 类 中的静态方法org.huiche.core.util.CheckUtil
是否匹配正则
CheckUtil - org.huiche.core.util中的类
验证工具类,提供验证手机号,正则,中文姓名,长度,是否是常量属性等方法
CheckUtil() - 类 的构造器org.huiche.core.util.CheckUtil
 
code() - 接口 中的方法org.huiche.core.exception.BaseError
错误代码
code() - 枚举 中的方法org.huiche.core.exception.HuiCheError
 
COMMA - 接口 中的静态变量org.huiche.core.consts.Const
英文逗号
Const - org.huiche.core.consts中的接口
常用常量
ConstUtil - org.huiche.core.util中的类
常量类工具类,获取用@ConstVal注解的常类类参数的说明描述或扩展信息
ConstUtil() - 类 的构造器org.huiche.core.util.ConstUtil
 
ConstValue - org.huiche.core.consts中的类
用于ConstUtil获取带有@ConstVal注解的常量类的说明和额外信息
ConstValue(String, String) - 类 的构造器org.huiche.core.consts.ConstValue
 
ConstValue(String, String, String) - 类 的构造器org.huiche.core.consts.ConstValue
 
convertFirstToUpperCase(String) - 类 中的静态方法org.huiche.core.util.StringUtil
字符串首字母大写
copy(S, T) - 类 中的静态方法org.huiche.core.util.DataUtil
复制对象属性,包含源对象中值为null的属性
copyIgnoreNull(S, T) - 类 中的静态方法org.huiche.core.util.DataUtil
复制对象属性,,跳过源对象中值为null的属性,如果src为null,直接返回target对象
copyList(Collection<S>, Function<S, T>) - 类 中的静态方法org.huiche.core.util.DataUtil
复制列表
copyList(Collection<S>, Function<S, T>, boolean) - 类 中的静态方法org.huiche.core.util.DataUtil
复制列表

D

DataUtil - org.huiche.core.util中的类
数据工具类,提供数据转换,复制,去重,随机等操作
DataUtil() - 类 的构造器org.huiche.core.util.DataUtil
 
date2LocalDate(Date) - 类 中的静态方法org.huiche.core.util.DateUtil
日期转本地日期
date2LocalDateTime(Date) - 类 中的静态方法org.huiche.core.util.DateUtil
日期转日期时间
DateUtil - org.huiche.core.util中的类
日期时间工具类,主要提供String和Date类型的转换
DateUtil() - 类 的构造器org.huiche.core.util.DateUtil
 
distinctList(List<T>) - 类 中的静态方法org.huiche.core.util.DataUtil
集合去重

E

empty2Null(T) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
如果是空返回null
encode(CharSequence) - 接口 中的方法org.huiche.core.encoder.PasswordEncoder
加密
EnumUtil - org.huiche.core.util中的类
枚举工具类,提供枚举转换等方法
EnumUtil() - 类 的构造器org.huiche.core.util.EnumUtil
 
equals(BaseError, T, T) - 类 中的静态方法org.huiche.core.util.Assert
判断是否相等,不相等抛出
equals(String, T, T) - 类 中的静态方法org.huiche.core.util.Assert
判断是否相等,不相等抛出
equals(T, T) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
是否相等比较
error(String, Throwable) - 类 中的静态方法org.huiche.core.util.LogUtil
 
error(Throwable) - 类 中的静态方法org.huiche.core.util.LogUtil
 
extra - 类 中的变量org.huiche.core.consts.ConstValue
扩展信息

F

fail(String) - 接口 中的静态方法org.huiche.core.exception.BaseError
操作失败
FieldsAreNullableByDefault - org.huiche.core.annotation中的注释类型
标记一个包或者类的字段默认为空
from(String) - 类 中的静态方法org.huiche.core.util.DateUtil
字符串转Date
from(String, String) - 类 中的静态方法org.huiche.core.util.DateUtil
字符串转Date
fromDb(String) - 类 中的静态方法org.huiche.core.util.StringUtil
属性名转数据库字段名
fromJson(String, Class<T>) - 接口 中的方法org.huiche.core.json.JsonApi
json字符串转对象

G

getByDayOffset(String, int) - 类 中的静态方法org.huiche.core.util.DateUtil
获取偏移多少天的日期
getByDayOffset(int) - 类 中的静态方法org.huiche.core.util.DateUtil
获取偏移多少天的日期
getCharLength(String) - 类 中的静态方法org.huiche.core.util.StringUtil
获取字符串的字节长度,默认UTF-8编码
getCharLength(String, String) - 类 中的静态方法org.huiche.core.util.StringUtil
获取字符串的字节长度
getDayMonthAgo() - 类 中的静态方法org.huiche.core.util.DateUtil
获取30天前的日期
getDayOfWeek() - 类 中的静态方法org.huiche.core.util.DateUtil
获取星期几(int)
getDayWeekAgo() - 类 中的静态方法org.huiche.core.util.DateUtil
获取7天前的日期
getMethodName2FieldName(String) - 类 中的静态方法org.huiche.core.util.StringUtil
get方法名转数据库字段名
getMonthDays(int, int) - 类 中的静态方法org.huiche.core.util.DateUtil
获取某个月份的天数
getNowMonthDays() - 类 中的静态方法org.huiche.core.util.DateUtil
获取当前月份的天数
getNumber() - 类 中的静态方法org.huiche.core.util.CaptchaUtil
 
getNumber(int) - 类 中的静态方法org.huiche.core.util.CaptchaUtil
 

H

hasError(Object...) - 接口 中的方法org.huiche.core.validation.ValidationUtil
是否存在错误
hideCardNumber(String) - 类 中的静态方法org.huiche.core.util.StringUtil
隐藏部分银行卡号
hideIdNumber(String) - 类 中的静态方法org.huiche.core.util.StringUtil
身份证号码部分隐藏
hidePhone(String) - 类 中的静态方法org.huiche.core.util.StringUtil
隐藏手机号中间四位
hideRealName(String) - 类 中的静态方法org.huiche.core.util.StringUtil
隐藏真实姓名(只显示姓)
HuiCheError - org.huiche.core.exception中的枚举
系统内置基本异常
HuiCheException - org.huiche.core.exception中的异常错误
内置基础异常
HuiCheException() - 异常错误 的构造器org.huiche.core.exception.HuiCheException
 
HuiCheException(String) - 异常错误 的构造器org.huiche.core.exception.HuiCheException
 
HuiCheException(Throwable) - 异常错误 的构造器org.huiche.core.exception.HuiCheException
 
HuiCheException(BaseError) - 异常错误 的构造器org.huiche.core.exception.HuiCheException
 
HuiCheException(String, Throwable) - 异常错误 的构造器org.huiche.core.exception.HuiCheException
 
HuiCheException(BaseError, String) - 异常错误 的构造器org.huiche.core.exception.HuiCheException
 
HuiCheUtil - org.huiche.core.util中的类
基础工具类,提供非空,equals,in 等判断
HuiCheUtil() - 类 的构造器org.huiche.core.util.HuiCheUtil
 

I

If - org.huiche.core.consts中的接口
是否,用于所有判断是否的情况
IfEnum - org.huiche.core.enums中的枚举
int是否的枚举,可用于需要传递是否参数的方法,防止出现其他值
ifNotNull(BaseError, Supplier<Boolean>, Object...) - 类 中的静态方法org.huiche.core.util.Assert
如果不是空,则只需后续OK判断,如果OK判断false抛出
ifNotNull(String, Supplier<Boolean>, Object...) - 类 中的静态方法org.huiche.core.util.Assert
如果不是空,则只需后续OK判断,如果OK判断false抛出
ifTest(BaseError, boolean, Supplier<Boolean>) - 类 中的静态方法org.huiche.core.util.Assert
先执行testOk判断,如果为true,则只需ifOk判断,如果false抛出
ifTest(String, boolean, Supplier<Boolean>) - 类 中的静态方法org.huiche.core.util.Assert
先执行testOk判断,如果为true,则只需ifOk判断,如果false抛出
in(BaseError, T, T...) - 类 中的静态方法org.huiche.core.util.Assert
是否在数组中
in(String, T, T...) - 类 中的静态方法org.huiche.core.util.Assert
是否在数组中
in(T, T...) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
对象是否在对象数组中
inConst(BaseError, Object, Class<?>) - 类 中的静态方法org.huiche.core.util.Assert
是否在常量类中
inConst(String, Object, Class<?>) - 类 中的静态方法org.huiche.core.util.Assert
是否在常量类中
inConstant(Class<T>, Object) - 类 中的静态方法org.huiche.core.util.CheckUtil
值是否是常量的值之一
inEnum(BaseError, String, Class<T>) - 类 中的静态方法org.huiche.core.util.Assert
是否在枚举中
inEnum(String, String, Class<T>) - 类 中的静态方法org.huiche.core.util.Assert
是否在枚举中
inValEnum(BaseError, Integer, Class<T>) - 类 中的静态方法org.huiche.core.util.Assert
是否在枚举中
inValEnum(String, Integer, Class<T>) - 类 中的静态方法org.huiche.core.util.Assert
是否在枚举中
isChinaName(String) - 类 中的静态方法org.huiche.core.util.CheckUtil
是否是中文
isEmpty(Object) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
是否是空对象/字符串/集合/数组等等
isEmpty(CharSequence) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
是否是空字符
isEmpty(Collection) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
是否是空集合
isEmpty(Map) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
是否是空map
isEmpty(Object...) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
判断是否全是空,只要一个非空返回false
isEmpty(String) - 类 中的静态方法org.huiche.core.util.StringUtil
是否null或空字符串
isIdNumber(String) - 类 中的静态方法org.huiche.core.util.CheckUtil
是否是身份证号码
isListOrArray(Object) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
是否是空集合或数组
isNotEmpty(Object) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
是否不是空对象
isNotEmpty(CharSequence) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
是否不是空字符
isNotEmpty(Collection) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
是否不是空集合
isNotEmpty(Map) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
是否不是空map
isNotEmpty(Object...) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
判断是否全是非空,只要又一个空,返回false
isNotEmpty(String) - 类 中的静态方法org.huiche.core.util.StringUtil
是否不是null或空字符串
isNotListAndArray(Object) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
是否不是空集合/数组
isNull(BaseError, Object) - 类 中的静态方法org.huiche.core.util.Assert
判断是否是null或空,如果不是抛出
isNull(String, Object) - 类 中的静态方法org.huiche.core.util.Assert
判断是否是null或空,如果不是抛出
isNull(BaseError, Object...) - 类 中的静态方法org.huiche.core.util.Assert
判断是否是null或空,如果不是抛出
isNull(String, Object...) - 类 中的静态方法org.huiche.core.util.Assert
判断是否是null或空,如果不是抛出
isPhoneNumber(String) - 类 中的静态方法org.huiche.core.util.CheckUtil
验证字符串是否是手机号码

J

join(String...) - 类 中的静态方法org.huiche.core.util.StringUtil
字符串数组用逗号分隔拼接的字符串
join(String[], String) - 类 中的静态方法org.huiche.core.util.StringUtil
字符串数组用分隔符拼接的字符串
join(Collection<?>) - 类 中的静态方法org.huiche.core.util.StringUtil
字符串集合用逗号分隔拼接的字符串
join(Collection<?>, String) - 类 中的静态方法org.huiche.core.util.StringUtil
字符串集合用分隔符拼接的字符串
JsonApi - org.huiche.core.json中的接口
内置的Json转换接口,使用starter时会创建实现,直接注入即可,不使用start时,需要自行实现才可以使用

L

list(Class<T>) - 类 中的静态方法org.huiche.core.util.ConstUtil
获取常量类的值和扩展数据
list2Arr(Collection<String>) - 类 中的静态方法org.huiche.core.util.StringUtil
字符串集合转字符串数组
local2Date(LocalDateTime) - 类 中的静态方法org.huiche.core.util.DateUtil
本地日期时间转日期
local2Date(LocalDate) - 类 中的静态方法org.huiche.core.util.DateUtil
本地日期转日期
LogUtil - org.huiche.core.util中的类
 
LogUtil() - 类 的构造器org.huiche.core.util.LogUtil
 

M

matches(CharSequence, String) - 接口 中的方法org.huiche.core.encoder.PasswordEncoder
测试匹配
msg() - 接口 中的方法org.huiche.core.exception.BaseError
错误描述
msg() - 枚举 中的方法org.huiche.core.exception.HuiCheError
 

N

NO - 接口 中的静态变量org.huiche.core.consts.If
 
noEquals(BaseError, T, T) - 类 中的静态方法org.huiche.core.util.Assert
判断是否不相等,相等抛出
noEquals(String, T, T) - 类 中的静态方法org.huiche.core.util.Assert
判断是否不相等,相等抛出
noEquals(T, T) - 类 中的静态方法org.huiche.core.util.HuiCheUtil
是否不相等比较
notAllNull(BaseError, Object...) - 类 中的静态方法org.huiche.core.util.Assert
判断不全是null或空,如果全是空,抛出
notAllNull(String, Object...) - 类 中的静态方法org.huiche.core.util.Assert
判断不全是null或空,如果全是空,抛出
notNull(BaseError, Object) - 类 中的静态方法org.huiche.core.util.Assert
判断是否不是空或null,是空抛出
notNull(BaseError, Object, Object) - 类 中的静态方法org.huiche.core.util.Assert
判断是否不是空或null,是空抛出
notNull(BaseError, Object, Object, Object) - 类 中的静态方法org.huiche.core.util.Assert
判断是否不是空或null,是空抛出
notNull(BaseError, Object, Object, Object, Object) - 类 中的静态方法org.huiche.core.util.Assert
判断是否不是空或null,是空抛出
notNull(BaseError, Object, Object, Object, Object, Object) - 类 中的静态方法org.huiche.core.util.Assert
判断是否不是空或null,是空抛出
notNull(String, Object) - 类 中的静态方法org.huiche.core.util.Assert
判断是否不是空或null,是空抛出
notNull(String, Object, Object) - 类 中的静态方法org.huiche.core.util.Assert
判断是否不是空或null,是空抛出
notNull(String, Object, Object, Object) - 类 中的静态方法org.huiche.core.util.Assert
判断是否不是空或null,是空抛出
notNull(String, Object, Object, Object, Object) - 类 中的静态方法org.huiche.core.util.Assert
判断是否不是空或null,是空抛出
notNull(String, Object, Object, Object, Object, Object) - 类 中的静态方法org.huiche.core.util.Assert
判断是否不是空或null,是空抛出
now(String) - 类 中的静态方法org.huiche.core.util.DateUtil
按格式化条件获取当前时间
nowDate() - 类 中的静态方法org.huiche.core.util.DateUtil
获取当前日期
nowMilli() - 类 中的静态方法org.huiche.core.util.DateUtil
获取当前时间到毫秒
nowTime() - 类 中的静态方法org.huiche.core.util.DateUtil
获取当前时间,到秒

O

of(Boolean) - 接口 中的静态方法org.huiche.core.consts.If
布尔转Integer,默认No (0)
of(Integer, Class<T>) - 类 中的静态方法org.huiche.core.util.EnumUtil
值转枚举
ok(BaseError, boolean) - 类 中的静态方法org.huiche.core.util.Assert
判断条件,false 抛出
ok(String, boolean) - 类 中的静态方法org.huiche.core.util.Assert
判断条件,false 抛出
ok(Object...) - 接口 中的方法org.huiche.core.validation.ValidationUtil
是否没有错误
org.huiche.core.annotation - 程序包 org.huiche.core.annotation
 
org.huiche.core.consts - 程序包 org.huiche.core.consts
内置常量类包
org.huiche.core.encoder - 程序包 org.huiche.core.encoder
 
org.huiche.core.enums - 程序包 org.huiche.core.enums
内置枚举类包
org.huiche.core.exception - 程序包 org.huiche.core.exception
内置异常类包
org.huiche.core.json - 程序包 org.huiche.core.json
内置json解析接口
org.huiche.core.util - 程序包 org.huiche.core.util
内置工具类包
org.huiche.core.validation - 程序包 org.huiche.core.validation
 

P

parse(String, Date) - 类 中的静态方法org.huiche.core.util.DateUtil
解析日期未字符串
parse(String, long) - 类 中的静态方法org.huiche.core.util.DateUtil
解析long未日期字符串
PasswordEncoder - org.huiche.core.encoder中的接口
密码加密接口定义
printStackTrace(Throwable) - 类 中的静态方法org.huiche.core.util.LogUtil
 

Q

QUOTE_DOUBLE - 接口 中的静态变量org.huiche.core.consts.Const
双引号
QUOTE_SINGLE - 接口 中的静态变量org.huiche.core.consts.Const
单引号

R

randomList(List<T>, int) - 类 中的静态方法org.huiche.core.util.DataUtil
在一个集合中随机取出N个对象
randomNumber(int) - 类 中的静态方法org.huiche.core.util.StringUtil
生成一个随机数字验证码,长度小于16位

S

split2List(String) - 类 中的静态方法org.huiche.core.util.StringUtil
逗号分隔的字符串
split2List(String, String) - 类 中的静态方法org.huiche.core.util.StringUtil
逗号分隔的字符串
split2ListInt(String) - 类 中的静态方法org.huiche.core.util.StringUtil
逗号分隔的字符串
split2ListInt(String, String) - 类 中的静态方法org.huiche.core.util.StringUtil
逗号分隔的字符串
split2ListLong(String) - 类 中的静态方法org.huiche.core.util.StringUtil
逗号分隔的字符串
split2ListLong(String, String) - 类 中的静态方法org.huiche.core.util.StringUtil
逗号分隔的字符串
StreamUtil - org.huiche.core.util中的类
扩展jdk8 stream处理的工具类,目前仅分组收集器toList转换类型的扩展
StreamUtil() - 类 的构造器org.huiche.core.util.StreamUtil
 
StringUtil - org.huiche.core.util中的类
字符串处理工具类,很常用
StringUtil() - 类 的构造器org.huiche.core.util.StringUtil
 

T

text - 类 中的变量org.huiche.core.consts.ConstValue
描述
to(Integer) - 接口 中的静态方法org.huiche.core.consts.If
Integer 转布尔,默认false
to(Date) - 类 中的静态方法org.huiche.core.util.DateUtil
日期转日期字符串
to(Date, String) - 类 中的静态方法org.huiche.core.util.DateUtil
日期按格式化转字符串
to(LocalDateTime, String) - 类 中的静态方法org.huiche.core.util.DateUtil
日期时间按格式化转字符串
toDb(String) - 类 中的静态方法org.huiche.core.util.StringUtil
数据库字段名转属性名
toJson(Object) - 接口 中的方法org.huiche.core.json.JsonApi
对象转json
toList(Function<List<T>, List<R>>) - 类 中的静态方法org.huiche.core.util.StreamUtil
 
turn(S, Class<T>) - 类 中的静态方法org.huiche.core.util.EnumUtil
枚举转换

U

UNDERLINE - 接口 中的静态变量org.huiche.core.consts.Const
下划线

V

val() - 枚举 中的方法org.huiche.core.enums.IfEnum
 
val() - 接口 中的方法org.huiche.core.enums.ValEnum
枚举对应的值
val(Class<T>, Object) - 类 中的静态方法org.huiche.core.util.ConstUtil
获取常量值的文字描述
ValEnum - org.huiche.core.enums中的接口
int值的枚举,通过实现此接口来使用相关方法,常用于标识状态/类型等字段,进行可控值范围的参数传递
ValidationUtil - org.huiche.core.validation中的接口
 
value - 类 中的变量org.huiche.core.consts.ConstValue
valueOf(String) - 枚举 中的静态方法org.huiche.core.enums.IfEnum
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法org.huiche.core.exception.HuiCheError
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法org.huiche.core.enums.IfEnum
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.huiche.core.exception.HuiCheError
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

Y

YES - 接口 中的静态变量org.huiche.core.consts.If
 
A B C D E F G H I J L M N O P Q R S T U V Y 
跳过导航链接

Copyright © 2018. All rights reserved.