Package | Description |
---|---|
org.dromara.hutool.core.array |
提供数组相关封装
|
org.dromara.hutool.core.collection |
集合以及Iterator封装,包括集合工具CollUtil,Iterator和Iterable工具IterUtil
|
org.dromara.hutool.core.collection.set |
Set 相关封装 |
org.dromara.hutool.core.io |
IO相关封装和工具类,包括Inputstream和OutputStream实现类,工具包括流工具IoUtil、文件工具FileUtil和Buffer工具BufferUtil
|
org.dromara.hutool.core.io.file |
对文件读写的封装,包括文件拷贝、文件读取、文件写出、行处理等
|
org.dromara.hutool.core.io.watch |
基于JDK7+ WatchService的文件和目录监听封装,支持多级目录
|
org.dromara.hutool.core.lang.wrapper |
提供包装对象的抽象
通过包装接口,实现装饰模式或代理模式,以增强或目标对象功能。 |
org.dromara.hutool.core.map |
Map相关封装,提供特殊Map实现以及Map工具MapUtil
|
org.dromara.hutool.core.map.multi |
多参数类型的Map实现,包括集合类型值的MultiValueMap和Table
MultiValueMap:一个键对应多个值的集合的实现,类似于树的结构。 |
org.dromara.hutool.core.pool |
对象池封装实现
整体参考了: https://github.com/DanielYWoo/fast-object-pool/ https://github.com/apache/commons-pool |
org.dromara.hutool.core.pool.partition |
基于分区的对象池实现,参考:https://github.com/DanielYWoo/fast-object-pool
|
org.dromara.hutool.core.thread |
提供线程及高并发封装,入口为ThreadUtil
|
org.dromara.hutool.crypto |
加密解密模块,实现了对JDK中加密解密算法的封装,入口为SecureUtil,实现了:
1.
|
org.dromara.hutool.crypto.bc |
BouncyCastle库相关工具封装
|
org.dromara.hutool.crypto.digest |
摘要加密算法实现,入口为DigestUtil
|
org.dromara.hutool.crypto.digest.mac |
MAC,全称为“Message Authentication Code”,中文名“消息鉴别码”。
|
org.dromara.hutool.db |
Hutool-db是一个在JDBC基础上封装的数据库操作工具类,通过包装,使用ActiveRecord思想操作数据库。
|
org.dromara.hutool.db.ds |
数据源封装,对各类数据库连接池的封装
数据库连接池使用工厂方法模式,当有新增连接池时,实现 DSFactory 即可。 |
org.dromara.hutool.db.ds.pooled |
Hutool对连接池的简单实现
|
org.dromara.hutool.db.meta |
JDBC数据表元数据信息封装,包括表结构、列信息的封装,入口为MetaUtil
|
org.dromara.hutool.db.sql |
SQL语句和Statement构建封装
|
org.dromara.hutool.extra.ssh |
Jsch封装,包括端口映射、SFTP封装等,入口为JschUtil
|
org.dromara.hutool.extra.ssh.engine.ganymed |
Ganymed-SSH2(https://www.ganymed.ethz.ch/ssh2/) 引擎封装
|
org.dromara.hutool.extra.ssh.engine.jsch |
Jsch(http://www.jcraft.com/jsch/) 引擎封装
|
org.dromara.hutool.extra.ssh.engine.mina |
Apache MINA SSHD(https://mina.apache.org/sshd-project/) 引擎封装
|
org.dromara.hutool.extra.ssh.engine.sshj |
SSH 引擎封装
|
org.dromara.hutool.extra.template.engine |
第三方模板引擎实现
|
org.dromara.hutool.extra.template.engine.beetl |
Beetl实现,模板引擎介绍见:http://ibeetl.com/
|
org.dromara.hutool.extra.template.engine.enjoy |
Jfinal家的Enjoy模板引擎实现,见:https://jfinal.com/doc/6-1
|
org.dromara.hutool.extra.template.engine.freemarker |
Freemarker实现
见:https://freemarker.apache.org/ |
org.dromara.hutool.extra.template.engine.jetbrick |
jetbrick-template实现,模板引擎介绍见:https://github.com/subchen/jetbrick-template-2x
|
org.dromara.hutool.extra.template.engine.jte |
jte实现
见:https://jte.gg/ |
org.dromara.hutool.extra.template.engine.pebble |
pebble template实现,模板引擎介绍见:https://github.com/PebbleTemplates/pebble
|
org.dromara.hutool.extra.template.engine.rythm |
Rythm实现,见:http://www.rythmengine.org/
|
org.dromara.hutool.extra.template.engine.thymeleaf |
Thymeleaf实现,见:https://www.thymeleaf.org/
|
org.dromara.hutool.extra.template.engine.velocity |
Velocity实现
见:http://velocity.apache.org/ |
org.dromara.hutool.extra.template.engine.wit |
Wit实现,见:http://zqq90.github.io/webit-script/
|
org.dromara.hutool.http.client.engine.httpclient4 |
Apache HttpClient 4.x实现
文档见:https://hc.apache.org/httpcomponents-client-4.5.x/index.html |
org.dromara.hutool.http.client.engine.httpclient5 |
Apache HttpClient 5.1.x实现
文档见:https://hc.apache.org/httpcomponents-client-5.1.x/index.html |
org.dromara.hutool.http.client.engine.jdk |
基于JDK的HttpUrlConnection封装的HTTP客户端
|
org.dromara.hutool.http.client.engine.okhttp |
OKHttp3封装
文档见:https://square.github.io/okhttp/ |
org.dromara.hutool.http.server.engine.sun |
HttpServer 引擎实现包 |
org.dromara.hutool.json |
JSON(JavaScript Object Notation JavaScript对象表示法)封装
规范见:https://www.rfc-editor.org/rfc/rfc8259 包含以下组件: JSONObject: 使用键值对表示的数据类型,使用"{}"包围 JSONArray: 使用列表表示的数据类型,使用"[]"包围 JSONPrimitive:表示boolean、String、Number等原始类型 JSON封装主要包括JSON表示和JSON转换:
<-----JSONMapper----- <---JSONParser----
Java对象 <====================> JSON对象 <=================> JSON字符串
-----JSONMapper-----> ---JSONWriter---->
当然,为了高效转换,如果没有自定义需求,Java对象可以不通过JSON对象与JSON字符串转换:
JSONTokener:JSON字符串底层解析器,通过Stream方式读取JSON字符串并对不同字段自定义处理。 |
org.dromara.hutool.json.engine.gson |
GSON引擎实现
项目:https://github.com/google/gson |
org.dromara.hutool.json.engine.jackson |
Jackson引擎实现
https://github.com/FasterXML/jackson |
org.dromara.hutool.json.engine.moshi |
Moshi引擎实现
https://github.com/square/moshi |
org.dromara.hutool.json.reader |
JSON读取和解析,主要解析字符串、流等JSON字符串为
JSON 。 |
org.dromara.hutool.json.xml |
JSON与XML相互转换封装,基于json.org官方库改造
|
org.dromara.hutool.poi.csv |
提供CSV文件读写的封装,入口为CsvUtil
规范见:https://datatracker.ietf.org/doc/html/rfc4180 |
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
Wrapper
包装接口
|
Class and Description |
---|
SimpleWrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。 |
Wrapper
包装接口
|
Copyright © 2025. All rights reserved.