North  Beijing  for  egg  not  row  team  Hospital Medical 

Dai donor eggs surrogacy [╇ Wei, electricity 13 Fu 71,009,777 Fu 3] on behalf of children ★ selected gender packet born ★ tube bag boy Company ★ donor eggs surrogacy package born ★ surrogate selected gender boy ★ generation of children Price ★ IVF surrogacy ★ bag package was born a boy ★ ★ surrogacy agency processes

Brief introduction

Hutool is a Java toolkit, it is only a tool kit that helps us simplify every line of code, reducing each way for Java language can also be "sweet." It was originally a project of the "util" package of a sort, then slowly accumulate and adding more non-business-related functions, and extensive learning the essence of other open-source project, after finishing their own modifications, eventually forming a rich set of open source tools.

Hutool is Hu + tool of self coinage, homophonic "confused", meaning, the pursuit of "all things be foolish concept, the loss does not matter, it does not matter too" realm.

How Hutool change our way of coding

Hutool goal is to use a utility method instead of a complicated code to the maximum to avoid problems "cut and paste" code, to completely change the way we write the code.

To calculate MD5 as an example:

  • [Previously] open Baidu -> Search "Java MD5 Encryption" -> open a blog entry -> copy and paste -> easy to change to change
  • [Now] the introduction of Hutool -> SecureUtil.md5 ()

Similarly, when we want to achieve what functions, the head of the first thought is to find XXXUtil, rather than Baidu.


It contains components

A base Java tools, files, streams, encryption and decryption, transcoding, regular, thread, XML, etc. JDK encapsulation method, various composition tools Util, while providing the following components:

  • hutool-aop JDK dynamic proxy package, providing support in the non-cut IOC
  • hutool-bloomFilter Bloom filter, some Hash Algorithm Bloom filter
  • hutool-cache simple cache implementation
  • hutool-core core, including Bean operation, date, and other various Util
  • hutool-cron module scheduled task, provided the timing of the task-based expression Crontab
  • hutool-crypto encryption and decryption modules, providing symmetric, asymmetric and abstract algorithm Package
  • After the data manipulation hutool-db JDBC package, based thought ActiveRecord
  • Find hutool-dfa DFA model based on multiple keywords
  • hutool-extra expansion modules, for third-party package (template engine, e-mail, Servlet, two-dimensional code, Emoji, FTP, word, etc.)
  • hutool-http Http client based on the package HttpUrlConnection
  • hutool-log implementation of automatic identification log log facade
  • hutool-script package script execution, e.g. Javascript
  • hutool-setting more powerful and Setting Properties profile package
  • hutool-system calls encapsulation system parameter (JVM information and the like)
  • hutool-json JSON achieve
  • hutool-captcha image verification code to achieve
  • hutool-poi package for the POI in Excel
  • hutool-socket NIO and Java-based package of AIO Socket

The demand may be introduced separately for each module, it may also be incorporated by hutool-allintroducing all modular manner.


File

Chinese Documentation  Chinese documentation (spare)

API Reference


installation

Maven

Add the following dependencies pom.xml in the project:

<dependency>
    <groupId>cn.hutool</groupId>
 <artifactId>hutool-all</artifactId>  <version>4.5.16</version> </dependency>

Gradle

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

Non-Maven project

Click on one of the following links to download hutool-all-X.X.X.jaryou can:

Note Hutool support JDK7 +, there is no test for the Android platform, tools can not guarantee that all eligible tools available methods.

Compile and install

Hutool cloud access code Home: https://gitee.com/loolly/hutool  download the entire project source code (v4-master or v4-dev branch can) then enter Hutool project directory execute:

bin/hutool.sh install

Then you can use Maven introduced.


Building blocks

Provide feedback or suggestions bug

In accordance with the principle of

Hutool welcome any artificial Hutool contribute, contribute code, but the author is an obsessive-compulsive disorder patients, in order to care for the sick, pr required to submit (pull request) meet certain specifications, specifications are as follows:

  1. Notes complete, in particular, each new method should be in accordance with the method described Java specification states the document, parameter description, return value and other information, if you prefer, you can also add your name.
  2. Hutool indentation according to Eclipse (do not tell me IDEA and more easy to use, the authors are very lazy, can not learn) the default (tab) indents, so please comply with (and I do not dispute the problem space and tab, which is a patient habit).
  3. Do not use the newly added third-party libraries methods, Hutool follow the principle of non-dependent (plus method unless the extra modules tool).
  4. Please pull request to the v4-devbranch. Hutool in the 4.x version of the new branch: v4-masterthe main branch, said that it has released version of the central library, the branch is not allowed pr, can not be modified. v4-devBranch is the development branch, the next version or SNAPSHOT version Hutool development in this branch, you can pr to this branch.

Step contribute code

  1. fork the project on Github Gitee or to own repo
  2. The fork past projects is your project to your local clone
  3. Modify the code (remember to modify v4-dev branch)
  4. After the push to commit its own library (v4-dev branch)
  5. Login or Github Gitee in your home can see a pull request button, click it, fill out some descriptive information, then submit.
  6. Author waiting merger

Donate

If you feel Hutool good, you can donate please eat package of hot strip ~, to express my gratitude ^ _ ^.

Click the link below to pull the bottom of the page click on the "donate" button.

Guess you like

Origin www.cnblogs.com/daishenghaiz/p/11109646.html