当前位置:网站首页>Hutool official graphics
Hutool official graphics
2022-07-19 01:12:00 【aiwokache】
Reference documents : Chinese document
api file :api file
One Life needs : In the project “util” A package friendly alternative
Two Solution
1 thought
Hutool The goal is to use a tool approach instead of a complex piece of code , To calculate MD5 For example :
- 【 before 】 Open the search engine -> search “Java MD5 encryption ” -> Open a blog -> Copy and paste -> Make it easy to use
- 【 Now? 】 introduce Hutool -> SecureUtil.md5()
2 structure
One Java Basic tools , The file 、 flow 、 Encryption and decryption 、 transcoding 、 Regular 、 Threads 、XML etc. JDK Method to encapsulate , Make up all kinds of Util Tool class , The following components are also provided :
| modular | Introduce |
|---|---|
| hutool-aop | JDK Dynamic agent encapsulation , Provide non IOC Next aspect support |
| hutool-bloomFilter | Bloon filtration , Provide some Hash Algorithm's bloom filtering |
| hutool-cache | Simple cache implementation |
| hutool-core | The core , Include Bean operation 、 date 、 Various Util etc. |
| hutool-cron | Timing task module , Provide classes Crontab Expression timing task |
| hutool-crypto | Encryption and decryption module , Provide symmetry 、 Asymmetric and digest algorithm encapsulation |
| hutool-db | JDBC Data operation after encapsulation , be based on ActiveRecord thought |
| hutool-dfa | be based on DFA Multi keyword search of model |
| hutool-extra | Extension module , Encapsulate... To a third party ( template engine 、 mail 、Servlet、 QR code 、Emoji、FTP、 Participle, etc ) |
| hutool-http | be based on HttpUrlConnection Of Http Client encapsulation |
| hutool-log | Automatic recognition of the log door |
| hutool-script | Script execution encapsulation , for example Javascript |
| hutool-setting | More powerful Setting Configuration files and Properties encapsulation |
| hutool-system | System parameter call encapsulation (JVM Information, etc ) |
| hutool-json | JSON Realization |
| hutool-captcha | Picture verification code implementation |
| hutool-poi | in the light of POI in Excel and Word Encapsulation |
| hutool-socket | be based on Java Of NIO and AIO Of Socket encapsulation |
| hutool-jwt | JSON Web Token (JWT) Encapsulation implementation |
3 flow 、 primary :
- Java Tool library 、 Static method encapsulation 、 Encapsulation of public classes and utility methods .
- Each module can be introduced separately according to the requirements , Or by introducing
hutool-allWay to introduce all modules .
4 Use
First step : In the project pom.xml Of dependencies Add the following :
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>5.8.0.M4</version>
</dependency>边栏推荐
- WampServer
- 2021-3-19-字节-面值
- [Shader implémente l'effet Wave Shader chapitre 1]
- [gradle] quick configuration
- [MD5] quickly realize MD5 encryption and decryption (salt value)
- 集技术、艺术、运动于一身的个人博客。
- Greenplum6.x客户端连接
- 必备基础:加签验签
- Advanced Mathematics - Chapter 8 differential calculus of multivariate functions - extreme and maximum values of multivariate functions
- [shader realizes wave effect _shader effect Chapter 1]
猜你喜欢
随机推荐
Greenplum6.x客户端连接
Briefly talk about two interview questions encountered recently
20210518-Cuda
Go 每日一库之 bitset
Jwt和Token
面试官:怎么不用定时任务实现关闭订单?
简单聊聊最近遇到的两个面试题
FactoryBean 使用场景
openpyxl 绘制面积图
P1876 开灯【入门】
在mysql數據庫插入中文值出現的亂碼解决
J9数字论:去中心化身份的主流化还有多久?
Julia初学者教程2022
20210520-TCP滑动窗口
Photoshop网页设计教程
2021-3-22-腾讯-最少守卫数量
JSP basic grammar experiment
[MySQL] Error 1130 problem solution
在mysql数据库插入中文值出现的乱码解决
@postconstruct注解 和 InitializingBean 在bean实例化后执行某些初始化操作








