What problem does it solve?
Developers often need a diverse set of small utilities for encoding, IO, and type conversion, but collecting and coordinating these techniques across projects leads to duplication and inconsistency. tomitribe-util consolidates these commonly needed Java utilities into a zero-runtime-dependency library, providing a single source of truth and reducing boilerplate.
Core Features & Use Cases
- Duration and Size helpers for parsing, arithmetic, and formatting of time spans and data sizes.
- IO and Files utilities for reading, writing, and manipulating streams and paths.
- Encoding/Decoding helpers (Hex, Base32/Base64/Base58, Binary) for data encoding and decoding.
- Converter and Generics utilities for robust type conversion via a flexible strategy chain and reflection-based type resolution.
- StringTemplate, Join, Strings, and related utilities for template processing, string manipulation, and formatting.
Quick Start
Install tomitribe-util in your project and start using its Duration, Size, IO, and Converter APIs to simplify common tasks.