{"id":31565839,"url":"https://github.com/ponfee/commons-core","last_synced_at":"2025-10-05T07:18:14.061Z","repository":{"id":65372287,"uuid":"167679155","full_name":"ponfee/commons-core","owner":"ponfee","description":"A commons java tool lib","archived":false,"fork":false,"pushed_at":"2024-07-06T13:31:23.000Z","size":23290,"stargazers_count":253,"open_issues_count":0,"forks_count":22,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-07-06T14:45:28.160Z","etag":null,"topics":["commons","tool","util"],"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/ponfee.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":"2019-01-26T11:02:57.000Z","updated_at":"2024-07-06T13:31:29.000Z","dependencies_parsed_at":"2024-07-06T14:58:09.279Z","dependency_job_id":null,"html_url":"https://github.com/ponfee/commons-core","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ponfee/commons-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponfee%2Fcommons-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponfee%2Fcommons-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponfee%2Fcommons-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponfee%2Fcommons-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ponfee","download_url":"https://codeload.github.com/ponfee/commons-core/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponfee%2Fcommons-core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278421864,"owners_count":25984081,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["commons","tool","util"],"created_at":"2025-10-05T07:18:12.475Z","updated_at":"2025-10-05T07:18:14.056Z","avatar_url":"https://github.com/ponfee.png","language":"Java","funding_links":[],"categories":["工具库"],"sub_categories":[],"readme":"[![Blog](https://img.shields.io/badge/blog-@Ponfee-informational.svg?logo=Pelican)](http://www.ponfee.cn)\n[![License](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)\n[![JDK](https://img.shields.io/badge/jdk-8+-green.svg)](https://www.oracle.com/java/technologies/downloads/#java8)\n[![Build status](https://github.com/ponfee/commons-core/workflows/build-with-maven/badge.svg)](https://github.com/ponfee/commons-core/actions)\n[![Maven Central](https://img.shields.io/badge/maven--central-1.4-orange.svg?style=plastic\u0026logo=apachemaven)](https://central.sonatype.com/artifact/cn.ponfee/commons-core/1.4)\n\n# Commons Core\n\nA commons java tool lib\n\n## ⬇️ [Download From Maven Central](https://central.sonatype.com/artifact/cn.ponfee/commons-core/1.4)\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecn.ponfee\u003c/groupId\u003e\n  \u003cartifactId\u003ecommons-core\u003c/artifactId\u003e\n  \u003cversion\u003e1.4\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## 🔄 Build From Source\n\n```bash\n./mvnw clean package -DskipTests -Dcheckstyle.skip=true -U\n```\n\n## 🛠️ Functions\n| **function** |                                           **description**                                                |\n| ------------ | -------------------------------------------------------------------------------------------------------- |\n| base         | 基础类：Tuple数据类型、原始与包装类型等                                                                        |\n| collect      | 集合工具类                                                                                                 |\n| concurrent   | 并发相关的工具类：异步批处理、延时消费、线程池创建与监控等                                                         |\n| constrain    | 方法参数、实体字段等数据校验                                                                                  |\n| data         | 多数据源组件，动态增加数据源                                                                                  |\n| date         | 时间工具类(支持各种时间格式的解析，时间周期处理)                                                                 |\n| exception    | 异常工具类                                                                                                 |\n| export       | 数据导出为Excel(支持复杂表头及切分多个文件)、HTML(支持复杂表头)、CSV(支持切分多个文件)、Console(类似SQL命令行查询结果)  |\n| extract      | 数据文件导入：支持XLS/XLSX/CSV格式的文件，支持大文件                                                            |\n| http         | HTTP工具类(轻量级，不依赖第三方库)                                                                            |\n| io           | IO操作工具类(如文件UTF编码BOM头处理、文件编码探测、文件编码转换及内容替换、数字格式化为KB/MB/GB/TB/PB、Gzip等)         |\n| jce          | 加解密工具(对称加解密、非对称加解密、签名/验签、数字信封、ECC算法、哈希算法、国密算法、根证创建与CA证书签发、密码处理等)    |\n| model        | 数据模型相关公用类(带类型的Map操作、定义返回结果的结构体、分页实体等)                                               |\n| reflect      | 反射工具类(泛型解析、实体与Map互转、实体字段拷贝、实体字段获取、方法调用、Unsafe工具等)                               |\n| schema       | 表格数据结构定义，任意JSON格式数据转二维表等                                                                    |\n| serial       | 序列化工具类(JDK、JSON、FST、Hessian、Kryo、Protostuff)                                                      |\n| spring       | Spring相关工具类                                                                                           |\n| tree         | 强大的树型数据结构组件，构建复杂表头的基础(多路树构造及解析、类似`tree -N`命令的多路树打印、二叉树打印等)                |\n| util         | 常用工具类(Zip、时间轮、Snowflake id生成算法、Money/币种、一致性Hash算法、Base58编码、高效的字节处理等)              |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponfee%2Fcommons-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fponfee%2Fcommons-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponfee%2Fcommons-core/lists"}