JAVA类库整理
标签(空格分隔): 技术栈
[toc]
commons-codec
加解密功能封装 例:
commons-codec
commons-codec
1.12
/*
* MD5加密
*/
DigestUtils.md5Hex("123456")
commons-lang3
工具类封装 例:
org.apache.commons
commons-lang3
3.9
public static void main(String[] args) {
System.out.println(StringUtils.isEmpty(null));
System.out.println(StringUtils.isEmpty(""));
System.out.println(ObjectUtils.anyNotNull(null, null));
System.out.println(ObjectUtils.anyNotNull(11, null));
System.out.println(RandomUtils.nextBoolean());
System.out.println(RandomUtils.nextBoolean());
System.out.println(SystemUtils.JAVA_HOME);
}
commons-io
IO工具封装(FileUtils、IOUtils等) 例:
commons-io
commons-io
2.6
commons-collections4
集合功能封装 例:
org.apache.commons
commons-collections4
4.0
commons-pool
commons-pool
commons-pool
1.6
commons-beanutils
Apache开源组织提供的用于操作JAVA BEAN的工具包
commons-beanutils
commons-beanutils
1.9.3
pagehelper
MyBatis 分页插件
com.github.pagehelper
pagehelper
4.1.6
java-jwt
com.auth0
java-jwt
3.8.1
reflections
org.reflections
reflections
0.9.10
hutool-all
cn.hutool
hutool-all
4.6.1
hibernate-validator
org.hibernate
hibernate-validator
6.0.17.Final
metrics 监控
io.dropwizard.metrics
metrics-core
${metrics.version}
Lombok
Lombok能以简单的注解形式来简化java代码,提高开发人员的开发效率
org.projectlombok
lombok
1.16.20
provided
注解:
@Data
Spring-Boot-Starter-Slf4j
减少编写日志的组件
wiki.xsx
spring-boot-starter-slf4j
RELEASE