Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lightweight-component/aj-util
Base Common Utilities
https://github.com/lightweight-component/aj-util
helper utilities
Last synced: about 6 hours ago
JSON representation
Base Common Utilities
- Host: GitHub
- URL: https://github.com/lightweight-component/aj-util
- Owner: lightweight-component
- License: apache-2.0
- Created: 2024-06-12T11:21:40.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T09:41:01.000Z (4 days ago)
- Last Synced: 2024-11-12T10:32:04.675Z (4 days ago)
- Topics: helper, utilities
- Language: Java
- Homepage:
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Maven Central](https://img.shields.io/maven-central/v/com.ajaxjs/ajaxjs-util?label=Latest%20Release)](https://central.sonatype.com/artifact/com.ajaxjs/ajaxjs-util)
[![Javadoc](https://img.shields.io/badge/javadoc-1.1.6-brightgreen.svg?)](https://dev.ajaxjs.com/docs/javadoc/aj-util/)
![coverage](https://img.shields.io/badge/coverage-80%25-yellowgreen.svg?maxAge=2592000)
[![License](https://img.shields.io/badge/license-Apache--2.0-green.svg?longCache=true&style=flat)](http://www.apache.org/licenses/LICENSE-2.0.txt)
[![Email](https://img.shields.io/badge/Contact--me-Email-orange.svg)](mailto:[email protected])
[![QQ群](https://framework.ajaxjs.com/static/qq.svg)](https://shang.qq.com/wpa/qunwpa?idkey=3877893a4ed3a5f0be01e809e7ac120e346102bd550deb6692239bb42de38e22)# AJAXJS Util 工具包
工具库/助手包是框架的基础构成部分之一,英文多见于 Utils、Helpers、Tools。本项目定位为轻量级工具库,jar 体积不过 150k 左右,尽量避免第三方依赖。鉴于 Spring
普及,于是就依赖他的工具方法(仅依赖 `Spring Core`)直接使用,如常见的 `StringUtils.isEmpty()` 等等。本框架由下面若干模块所组成。
| 模块 | 说明 | 备注 |
|--------------|--------------------------------------------------------|----|
| util | 常规工具包,有字符串工具类、编码工具类、常用日期处理类、XML 工具类等等 | |
| io | 文件磁盘处理、流处理工具类、资源扫描器、Zip 解压缩 | |
| reflect | 反射工具包 | |
| convert | 值处理工具类、键对值转换 | |
| cache | 轻量级缓存服务,定时缓存、LRU/LFU 缓存 | |
| cryptography | 摘要算法:MD5/SHA;加密解密工具包: DES/AES/3D_DES/PBE/RSA/DH | |
| logger | 基于`java.util.logger`封装的日志组件 | | | [文档](https://gitee.com/sp42_admin/aj-utils/wikis/%E5%8F%AF%E7%83%AD%E6%9B%B4%E6%96%B0%E7%9A%84%E9%85%8D%E7%BD%AE%E4%B8%AD%E5%BF%83?sort_id=4390527) |
| map_traveler | 键值对遍历器,转换器 | | | [文档](https://gitee.com/sp42_admin/aj-utils/wikis/%E5%8F%AF%E7%83%AD%E6%9B%B4%E6%96%B0%E7%9A%84%E9%85%8D%E7%BD%AE%E4%B8%AD%E5%BF%83?sort_id=4390527) |
| regexp | 类似 js 的正则表达式 API | |Tutorial: https://framework.ajaxjs.com/docs/aj/?section=utils.
Java Documents: https://dev.ajaxjs.com/docs/javadoc/aj-util/.
# 安装
要求 Java 1.8+。 Maven 坐标:
```xml
com.ajaxjs
ajaxjs-util
1.1.5```