Top 16 Java 应用类 - 这些功能再也不用自己写了

Java中有很多应用类。这些类定义静态方法能够解决非常多常见的问题。以下是通过5万个开源项目统计得到的最热门的16个应用类。 类按热门程序排列。类的方法也是按热门程序排序。

浏览这个类能够看看有哪些功能不用再自己写了。 很实用。 点击链接能够看到详细使用的演示样例。 原文转自: http://www.programcreek.com/2015/12/top-10-java-utility-classes/

1. org.apache.commons.io.IOUtils

2. org.apache.commons.io.FileUtils

3. org.apache.commons.lang.StringUtils

4. org.apache.http.util.EntityUtils

5. org.apache.commons.lang3.StringUtils

6. org.apache.commons.io.FilenameUtils

7. org.springframework.util.StringUtils

8. org.apache.commons.lang.ArrayUtils

9. org.apache.commons.lang.StringEscapeUtils

10. org.apache.http.client.utils.URLEncodedUtils

11. org.apache.commons.codec.digest.DigestUtils

12. org.apache.commons.collections.CollectionUtils

13. org.apache.commons.lang3.ArrayUtils

14. org.apache.commons.beanutils.PropertyUtils

15. org.apache.commons.lang3.StringEscapeUtils

16. org.apache.commons.beanutils.BeanUtils

* The utility classes from android are excluded since they are designed for Android apps. If you want to see more details, you can search "utils" in the search portal:http://www.programcreek.com/java-api-examples/index.php. If the name of a utility class does not contain "utils", the class is not selected.

Also org.apache.commons.lang is the old version of import org.apache.commons.lang3.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值