This action will force synchronization from Hutool/hutool, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
一个Java基础工具类,对文件、流、加密解密、转码、正则、线程、XML等JDK方法进行封装,组成各种Util工具类,同时提供以下组件:
Hutool是一个工具包,我日常写项目的一些积累,参考了一些Apache Commons Lang和JODD里的一些写法,不过大部分还是自己写的,希望你看了之后会有所启发或者能给你工作中带来帮助。说实话我现在写代码已经离不开自己这个工具包了,叫做Hutool也有“糊涂”之意,表示很多功能糊里糊涂就实现了。好吧,言归正传,说说里面一些好玩的方法(工具包中大部分是一些静态方法)。
Hutool的设计思想是尽量减少重复的定义,让项目中的util
这个package尽量少,总的来说有如下的几个思想:
在项目的pom.xml的dependencies中加入以下内容:
<dependency>
<groupId>com.xiaoleilu</groupId>
<artifactId>hutool</artifactId>
<version>X.X.X</version>
</dependency>
注:工具包的版本可以通过 http://search.maven.org/ 搜索hutool
找到项目。
可以从http://search.maven.org/ 搜索hutool
找到项目,点击对应版本,下面是相应的Jar包,导入即可使用。
最新的2.14.0版本Jar下载地址:http://search.maven.org/remotecontent?filepath=com/xiaoleilu/hutool/2.14.0/hutool-2.14.0.jar
Java doc下载地址:http://search.maven.org/remotecontent?filepath=com/xiaoleilu/hutool/2.14.0/hutool-2.14.0-javadoc.jar
Sign in for post a comment
Comments ( 0 )