Package | Description |
---|---|
org.dromara.hutool.core.cache.file |
提供针对文件的缓存实现
|
org.dromara.hutool.core.compress |
压缩解压封装
|
org.dromara.hutool.core.io |
IO相关封装和工具类,包括Inputstream和OutputStream实现类,工具包括流工具IoUtil、文件工具FileUtil和Buffer工具BufferUtil
|
org.dromara.hutool.core.io.checksum |
IO校验相关库和工具
|
org.dromara.hutool.core.io.copy |
IO流拷贝相关封装相关封装
|
org.dromara.hutool.core.io.file |
对文件读写的封装,包括文件拷贝、文件读取、文件写出、行处理等
|
org.dromara.hutool.core.io.resource |
针对ClassPath和文件中资源读取的封装,主要入口为工具类ResourceUtil
|
org.dromara.hutool.core.io.stream |
InputStream和OutputStream相关方法和类封装
|
org.dromara.hutool.core.net |
网络相关工具
|
org.dromara.hutool.core.net.ssl |
SSL相关封装
|
org.dromara.hutool.core.util |
提供各种工具方法,按照归类入口为XXXUtil,如字符串工具StrUtil等
|
org.dromara.hutool.crypto.asymmetric |
非对称加密的实现,包括RSA等
|
org.dromara.hutool.crypto.bc |
BouncyCastle库相关工具封装
|
org.dromara.hutool.crypto.digest |
摘要加密算法实现,入口为DigestUtil
|
org.dromara.hutool.crypto.openssl |
OpenSSL相关封装
|
org.dromara.hutool.crypto.symmetric |
对称加密算法实现,包括AES、DES、DESede等
|
org.dromara.hutool.extra.compress.archiver |
基于commons-compress的打包(压缩)封装
见:https://commons.apache.org/proper/commons-compress/
|
org.dromara.hutool.extra.ftp |
基于Apache Commons Net封装的FTP工具
|
org.dromara.hutool.extra.ssh.engine.ganymed |
Ganymed-SSH2(https://www.ganymed.ethz.ch/ssh2/) 引擎封装
|
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.http.client |
HTTP请求客户端封装,请求过程如下:
Server
^ |
| v
Request Response
^ |
| v
ClientEngine
|
org.dromara.hutool.http.client.body |
请求体封装实现
|
org.dromara.hutool.http.client.engine.jdk |
基于JDK的HttpUrlConnection封装的HTTP客户端
|
org.dromara.hutool.http.multipart |
文件上传封装
|
org.dromara.hutool.http.server.engine.sun |
HttpServer 引擎实现包 |
org.dromara.hutool.http.server.handler |
HTTP服务器请求和响应处理器的统一封装
|
org.dromara.hutool.http.server.servlet |
Servlet封装,包括Servlet参数获取、文件上传、Response写出等,入口为ServletUtil
|
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.reader |
JSON读取和解析,主要解析字符串、流等JSON字符串为
JSON 。 |
org.dromara.hutool.json.support |
JSON的支持类,如用于转换和BeanPath操作的对象,还有用于格式化的对象等
|
org.dromara.hutool.json.writer |
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 |
org.dromara.hutool.poi.excel |
POI中对Excel读写的封装,入口为ExcelUtil
|
org.dromara.hutool.poi.excel.sax |
Sax方式操作Excel方式的封装
|
org.dromara.hutool.poi.excel.writer |
Excel生成封装
|
org.dromara.hutool.poi.word |
POI中对Word操作封装
|
org.dromara.hutool.setting.props |
配置文件实现封装,例如Properties封装Props
|
org.dromara.hutool.setting.toml |
TOML(Tom's Obvious, Minimal Language)配置文件解析和生成
规范:https://toml.io/cn/
参考实现:https://github.com/TheElectronWill/TOML-javalib
|
org.dromara.hutool.socket |
Socket套接字相关工具类封装
|
org.dromara.hutool.swing.captcha |
图片验证码实现
|
org.dromara.hutool.swing.img |
图像处理相关工具类封装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
BomReader
读取带BOM头的流内容的Reader,如果非bom的流或无法识别的编码,则默认UTF-8
BOM定义:http://www.unicode.org/unicode/faq/utf_bom.html 00 00 FE FF = UTF-32, big-endian FF FE 00 00 = UTF-32, little-endian EF BB BF = UTF-8 FE FF = UTF-16, big-endian FF FE = UTF-16, little-endian 使用:
FileInputStream fis = new FileInputStream(file); |
ByteOrderMark
Byte Order Mark (BOM) 头描述
BOM定义:http://www.unicode.org/unicode/faq/utf_bom.html EF BB BF = UTF-8 FE FF = UTF-16BE, big-endian FF FE = UTF-16LE, little-endian 00 00 FE FF = UTF-32BE, big-endian FF FE 00 00 = UTF-32LE, little-endian 来自:Apache-commons-io |
FastStringWriter
借助
StringBuilder 提供快读的字符串写出,相比jdk的StringWriter非线程安全,速度更快。 |
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
NioUtil
NIO相关工具封装,主要针对Channel读写、拷贝等封装
|
ReaderWrapper
Reader 包装 |
StreamProgress
Stream进度条
提供流拷贝进度监测,如开始、结束触发,以及进度回调。 |
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
StreamProgress
Stream进度条
提供流拷贝进度监测,如开始、结束触发,以及进度回调。 |
Class and Description |
---|
BomReader
读取带BOM头的流内容的Reader,如果非bom的流或无法识别的编码,则默认UTF-8
BOM定义:http://www.unicode.org/unicode/faq/utf_bom.html 00 00 FE FF = UTF-32, big-endian FF FE 00 00 = UTF-32, little-endian EF BB BF = UTF-8 FE FF = UTF-16, big-endian FF FE = UTF-16, little-endian 使用:
FileInputStream fis = new FileInputStream(file); |
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
StreamProgress
Stream进度条
提供流拷贝进度监测,如开始、结束触发,以及进度回调。 |
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
StreamProgress
Stream进度条
提供流拷贝进度监测,如开始、结束触发,以及进度回调。 |
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
StreamProgress
Stream进度条
提供流拷贝进度监测,如开始、结束触发,以及进度回调。 |
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
ReaderWrapper
Reader 包装 |
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
ReaderWrapper
Reader 包装 |
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Class and Description |
---|
IORuntimeException
IO运行时异常,常用于对IOException的包装
|
Copyright © 2025. All rights reserved.