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

本文概述了Java中最受欢迎的16个应用类库,它们提供了各种功能来简化开发工作,包括文件操作、字符串处理、HTTP请求处理等。通过了解这些类库的功能和使用示例,开发者可以提高代码效率并减少重复劳动。

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值