-
包引入
<dependency> <groupId>me.hao0</groupId> <artifactId>common</artifactId> <version>1.1.2</version> </dependency>
-
依赖包,注意引入项目时是否需要exclude:
<dependency> <groupId>com.github.kevinsawicki</groupId> <artifactId>http-request</artifactId> <version>6.0</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.4.2</version> </dependency> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> <version>2.8.2</version> </dependency>
-
工具类介绍:
- Dates: 日期工具;
- Http: Http请求工具;
- Https: Https请求工具;
- Jsons: Json处理工具;
- Page: 分页对象;
- MD5: MD5工具;
- RSA: RSA工具;
- Fields: 反射工具;
- Networks: 网络工具;
- Preconditions: 参数校验工具;
- Strings: 字符串工具;
- XmlReaders, XmlWriters: Xml工具;