talira

A small but comprehensive library of Java utility classes

open sourceMulanPSL-2.0free

Hutool is a Java utility library that wraps common JDK tasks (files, streams, encryption, transcoding, regular expressions, threads, XML) in simple static methods, so you write SecureUtil.md5() instead of copying a snippet from the web. Beyond its core it has modules for an HTTP client, JSON, a cron scheduler, caching, Bloom filters, database access, Excel and Word through POI, captchas, sockets, JSON Web Tokens and more, each usable on its own or all together as hutool-all. Its documentation is in Chinese, with an English README.

Problems it solves

  • stop writing the same Java utility methods in every project
  • compute an MD5 or encrypt data in Java with one call
  • make HTTP requests and parse JSON in Java without heavy frameworks

Features

  • static-method utilities for files, streams, dates, beans and strings
  • HTTP client, JSON and JWT modules
  • cron-style task scheduling and simple caching
  • Excel and Word helpers on Apache POI
  • each module usable alone, or everything via hutool-all

Limitations

  • Hutool 5.x needs JDK 8 or newer and isn't tested on Android, so not every utility is guaranteed to work there.1