Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

A domestic Java tool library for Github Star 14K


Jun 01, 2021 Article blog


Table of contents


Recently saw a small and complete Java tool class library on Github is close to 14K Star, want to come to this must be a good software, now let you introduce.

 A domestic Java tool library for Github Star 14K1

Hutool is what it is

Hutool is a Java of Java Toolkit Classes that encapsulates JDK methods such as files, streams, encryption decryption, transcoding, regularity, Utils XML and more, forming a variety of Utils tool classes.

Hutool is Hu (the harmonic "confused") and tool the former pays tribute to the author "former company", the latter for the meaning of tools, the harmonic "confused", meaning the pursuit of "everything is confused, no matter lost, no matter what to gain" realm.

(Recommended tutorial: Java tutorial)

How Hutool is changing the way we coding

Hutool goal is to replace a complex piece of code with a tool approach that minimizes the problem of "copying and pasting" code and revolutionizes the way we write code.

Take the calculation of MD5 as an example:

Open search engine - > search Java MD5 encryption" - > Open a blog - copy and paste > - > change to good use

The introduction of Hutool -> SecureUtil.md5() Hutool exists to reduce code search costs and avoid bug caused by uneven code on the network.

Isn't it fragrant to look around for these tool-type codes anymore?

Contains components

A Java tool class that encapsulates JDK methods such as file, stream, encryption decryption, transcoding, regularity, threading, XML and more, forming a variety of Util tool classes while providing the following components:

 A domestic Java tool library for Github Star 14K2

Installation

Maven adds the following to the pom.xml dependencies

 A domestic Java tool library for Github Star 14K3

Gradle:

compile 'cn.hutool:hutool-all:5.3.10'

This kind of library is still open source for our chinese programmers.

(Recommended micro-class: Java micro-class)

Hutool also welcomes anyone who contributes code to Hutool, but the author is an obsessive compulsive disorder patient who needs to submit a pr (pull request) that complies with some specifications in order to care for the patient.

Here's a collection of home-made Java tools for Github Star 14K: Hutool related introduction, I hope to help you.