{"id":24610887,"url":"https://github.com/handsomestwei/wutool","last_synced_at":"2026-05-18T22:09:51.869Z","repository":{"id":273607622,"uuid":"920120784","full_name":"handsomestWei/wutool","owner":"handsomestWei","description":"一个java代码片段收集库，针对特定场景提供轻量解决方案","archived":false,"fork":false,"pushed_at":"2025-03-11T15:42:50.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T20:54:50.262Z","etag":null,"topics":["crud","hutool","java","snippets-collection"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/handsomestWei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-21T15:47:28.000Z","updated_at":"2025-03-11T15:42:54.000Z","dependencies_parsed_at":"2025-03-07T16:33:03.950Z","dependency_job_id":"ef1fc28b-e2dc-4bc5-8e2d-e335adb19786","html_url":"https://github.com/handsomestWei/wutool","commit_stats":null,"previous_names":["handsomestwei/wutool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handsomestWei%2Fwutool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handsomestWei%2Fwutool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handsomestWei%2Fwutool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handsomestWei%2Fwutool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/handsomestWei","download_url":"https://codeload.github.com/handsomestWei/wutool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244244774,"owners_count":20422370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crud","hutool","java","snippets-collection"],"created_at":"2025-01-24T19:19:18.473Z","updated_at":"2026-05-18T22:09:51.860Z","avatar_url":"https://github.com/handsomestWei.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wutool\n\n一个java代码片段收集库，针对特定场景提供轻量解决方案。\n\n## 关于wutool\n\n+ wutool针对特定场景提供轻量解决方案，归类放置在工程里不同的包下。\n+ 和常见的工具库不同，使用wutool无需全量引用，只要按需选择代码片段拷贝使用即可。\n\n## 片段列表\n\n- task\n    - [基于内存的动态定时任务管理。任务增删改查](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/task/dynamic/DynamicTaskManager.java)\n    - [sql大in多线程并行查询模板类。自定义数据拆分和合并方法](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/task/PartitionSelectJob.java)\n    - [并行执行多任务。阻塞等待所有任务都执行完成并收集结果，超时自动终止未完成任务](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/task/ParallelCallableUtil.java)\n- 热更新\n    - [配置文件属性热更新。声明式定义，无需侵入式编码](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/hotreload/MiniHotReloadPropComponent.java)\n- 消息\n    - [简单消息响应模型。将三方的异步响应包装成阻塞等待同步响应](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/msg/reactor/service/AbsMsgReactorService.java)\n- ftp\n    - [基于Apache Camel FTP的文件下载处理模板类。支持并发文件处理，支持处理进度持久化和重加载](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/ftp/process/AbsBizFileProcess.java)\n- excel\n    - [excel http附件下载、模板填充](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/excel/util/RspAttachmentHelper/.java)\n    - [excel动态列写入](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/excel/util/DynamicHeadHelper/.java)\n    - [excel单元格上自适应填充图片](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/excel/ImageAutoFillMergeCelHandler.java)\n    - [基于阿里easy excel的包装工具类](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/excel/util/EasyExcelUtil.java)\n- web\n    - [tcp客户端，基于java.net.Socket实现。支持自定义编解码、优雅处理读响应超时、多包响应拆解处理](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/web/TcpClient.java)\n    - [http调用链id注入过滤器。适合单体架构](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/web/filter/HttpTraceIdFilter.java)\n    - [http请求控制器日志打印切面。输出请求入出参数值和耗时到日志](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/web/WebLogAspect.java)\n    - [参数校验配置。可作用在http请求入参校验等](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/web/ValidatorConfig.java)\n\t- [接口请求url unicode解码处理器](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/web/UrlPathUnicodeDecodeResolver.java)\n    - i18n国际化\n        - [国际化语言工具类。规避某些场景下因缓存取不到期望值问题](/src/main/java/com/wjy/wutool/web/i18n/MessageUtil.java)\n        - [国际化语言切换拦截器。从请求头获取语言设置并传递给业务侧使用](/src/main/java/com/wjy/wutool/web/i18n/LanguageInterceptor.java)\n    - mybatis\n        - [基于策略自动填充时间类型字段值](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/web/mybatis/TimeMetaObjectHandler.java)\n        - [pg数据库jsonb字段类型处理器](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/web/mybatis/PgJsonbTypeHandler.java)\n    - [守护进程实现。自定义退出码和崩溃监听，基于单jar双进程运行模式](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/web/ProcessGuardUtil.java)\n    - [通用厂商服务注册器。支持集中配置、反射自动注册和多厂商服务查找，规避spi机制的缺点](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/web/vendor)\n- 工具类\n    - [二维码图片生成、编码、解码](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/util/QrCodeUtil.java)\n    - [图片处理：多图合并和加字、图片画框](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/util/PicUtil.java)\n    - [视频处理：图片合成mp4（支持文件、链接等形式的图片）、视频http附件下载](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/util/MediaUtil.java)\n    - [内存定时kv缓存。可避免引入额外中间件](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/util/MemoryTimedKvCacheUtil.java)\n    - [基于时间间隔的内存kv缓存过滤器。可用于流量削峰](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/util/MemoryKvCacheDurationFilter.java)\n    - [使用各种姿势获取资源的路径](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/util/ResourcePathUtil.java)\n    - [简单资源操作锁](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/util/SimpleResourceLock.java)\n    - [唯一短id生成](https://github.com/handsomestWei/wutool/tree/main/src/main/java/com/wjy/wutool/util/ShortIdUtil.java)\n- 其他配置\n    - [logback日志输出配置范例。文件大小限制、滚动覆盖策略、定时清理、异步输出等](https://github.com/handsomestWei/wutool/tree/main/src/main/resources/logback.xml)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhandsomestwei%2Fwutool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhandsomestwei%2Fwutool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhandsomestwei%2Fwutool/lists"}