| Package | Description |
|---|---|
| org.dromara.hutool.core.annotation |
注解包,提供增强型注解和注解工具类,处理包括:
注解元素(AnnotatedElement)上的注解。 |
| org.dromara.hutool.core.bean |
Bean相关操作,包括Bean信息描述,Bean路径表达式、动态Bean、Bean工具等
|
| org.dromara.hutool.core.classloader |
类加载相关封装和工具
|
| org.dromara.hutool.core.codec |
编码解码封装编码封装
|
| org.dromara.hutool.core.codec.binary |
BaseN编码解码,提供将bytes和baseN的编码转换功能。
|
| org.dromara.hutool.core.comparator |
各种比较器(Comparator)实现和封装
|
| org.dromara.hutool.core.compress |
压缩解压封装
|
| org.dromara.hutool.core.convert |
万能类型转换器以及各种类型转换的实现类,其中Convert为转换器入口,提供各种toXXX方法和convert方法
转换器是典型的策略模式应用,可自定义转换策略。 |
| org.dromara.hutool.core.date |
日期封装,日期的核心为DateTime类,DateUtil提供日期操作的入口
|
| org.dromara.hutool.core.exception |
特殊异常封装,同时提供异常工具ExceptionUtil
|
| org.dromara.hutool.core.io |
IO相关封装和工具类,包括Inputstream和OutputStream实现类,工具包括流工具IoUtil、文件工具FileUtil和Buffer工具BufferUtil
|
| org.dromara.hutool.core.io.resource |
针对ClassPath和文件中资源读取的封装,主要入口为工具类ResourceUtil
|
| org.dromara.hutool.core.io.stream |
InputStream和OutputStream相关方法和类封装
|
| org.dromara.hutool.core.io.watch |
基于JDK7+ WatchService的文件和目录监听封装,支持多级目录
|
| org.dromara.hutool.core.lang |
语言特性包,包括大量便捷的数据结构,包括:
ANSI:ANSI编码
Builder:构建器
Caller:查找调用者
Copier:拷贝(复制)
Generator:生成器
Getter:getXXX抽象
Intern:规范化表示形式
Loader:加载器的抽象
Mutable:可变值对象封装
Range:区间和边界封装
Tuple:元组
|
| org.dromara.hutool.core.map.multi |
多参数类型的Map实现,包括集合类型值的MultiValueMap和Table
MultiValueMap:一个键对应多个值的集合的实现,类似于树的结构。 |
| org.dromara.hutool.core.net.url |
URL相关工具
|
| org.dromara.hutool.core.pool |
对象池封装实现
整体参考了: https://github.com/DanielYWoo/fast-object-pool/ https://github.com/apache/commons-pool |
| org.dromara.hutool.core.reflect |
提供反射相关功能对象和类
|
| org.dromara.hutool.core.reflect.lookup |
MethodHandles.Lookup 创建封装,以根据不同的条件查找MethodHandlesjdk8中如果直接调用 MethodHandles.lookup()获取到的MethodHandles.Lookup在调用findSpecial和unreflectSpecial
时会出现权限不够问题,抛出"no private access for invokespecial"异常,因此针对JDK8及JDK9+分别封装lookup方法。 |
| org.dromara.hutool.core.reflect.method |
提供方法相关封装
|
| org.dromara.hutool.core.spi |
服务提供接口SPI(Service Provider interface)机制相关封装,包括:
ListServiceLoader,提供列表形式的服务定义
MapServiceLoader,提供键值对形式的服务定义
|
| org.dromara.hutool.core.thread |
提供线程及高并发封装,入口为ThreadUtil
|
| org.dromara.hutool.core.util |
提供各种工具方法,按照归类入口为XXXUtil,如字符串工具StrUtil等
|
| org.dromara.hutool.core.xml |
XML相关工具封装
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| ValidateException
验证异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| StatefulException
带有状态码的异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| ValidateException
验证异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
| Class and Description |
|---|
| HutoolException
Hutool工具类异常
|
Copyright © 2025. All rights reserved.