Common

Date Handing

Reflection

IO

Cryptography

Misc.

AJ Utilities

AJ Utilities is a lightweight Java 8+ library. Its APIs favour small, focused objects where state or configuration is needed, while keeping stateless operations convenient. The project provides source code, Javadoc, and unit tests for common application tasks.

Area Main APIs Description
Encoding and hashes Base64Utils, StringBytes, UrlCodec, HashHelper Base64, hexadecimal, URL values, message digests, and HMACs.
General utilities ConvertBasicValue, ObjectHelper, MapTool, RandomTools, StrUtil, RegExpUtils Type conversion, objects, maps, random values, strings, and regular expressions.
Structured data JsonUtil, XmlHelper JSON conversion through a pluggable engine and secure XML helpers.
Date and time DateTools, DateTypeConvert, Formatter Java 8 time formatting, strict parsing, and conversion between legacy and modern types.
I/O FileHelper, ResourceHelper, DataReader, DataWriter, ZipHelper, UnzipHelper File, classpath resource, stream, ZIP creation, and protected ZIP extraction operations.
Cryptography DoCipher, AesGcm, AesCbc, AesPbe, AesLegacy, Rsa, SecretKeyMgr, RestoreKey, PemUtils, DoSignature, DoVerify AES, password-based encryption, RSA-OAEP, keys and signatures; see the cryptography guide.
Reflection Clazz, Fields, Methods, NewInstance, Types Class loading, member lookup, object construction, and generic type inspection.

HTTP requests, uploads, downloads and annotation proxies now belong to the separate AJ HTTP project. Its Java package remains com.ajaxjs.util.httpremote, but it requires its own dependency; see the AJ HTTP installation guide.

Source code

GitHub | GitCode | Gitee

Links

User Manual | Ask DeepWiki | Java Documents

Install

Runs on Java 8+. Maven:

<dependency>
    <groupId>com.ajaxjs</groupId>
    <artifactId>ajaxjs-util</artifactId>
    <version>1.3.8</version>
</dependency>

Maven Central