Apache commons类库阅读笔记
2016-05-10 00:00
573 查看
摘要: apache commons 学习
commons-io
--------Start---------
FilenameUtils 文件名称一些操作,如判断文件扩展名称等
FileUtils 文件工具类
IOUtils 主要提供了IO常见操作
Stream 转换,关闭Stream等操作
FileUtils文件工具类
内置提供了大量文件转换方法,如readFileToString(File,Path)…
--------End-----------
commons-lang
--------Start---------
CharEncoding 字符常量提供,是否是支持的字符编码判断
ArrayUtils 数组工具类,提供数组的常用方法,null判断等相关
StringUtils 功能很强大,字符常见操作,isNotBlank,特色的Split方法等
StringEscapeUtils 对javascript,html,sql等语句进行过滤
SystemUtils 系统一些常量
SerializationUtils 序列化操作,ObjectInputStream output等相关
NumberUtils 数字转换字符串操作,敏捷开发,解决了开发中大量字符与Number转换,及异常等问题
DateUtils 日期操作相关,如添加一天等
DateFormatUtils 日期转换字符相关
ExceptionUtils 获取异常信息,存日志时很有用,能帮助你获取Root异常。
ClassUtils Class工具类,代表性方法(getAllSuperclasses,getPackageName,isAssignable)
--------End-----------
commons-collections
--------Start---------
CollectionUtils 集合常见操作null判断等
MapUtils Map一些操作
如 String getString(map,key)… 代码简单
--------End-----------
commons-codec 常见编码操作,byte MD5加密等
--------Start---------
DigestUtils
Base64
URLCodec
--------End-----------
commons-beanutils
--------Start---------
ConvertUtils 类型转换工具类,功能强大
PropertyUtils 字段属性操作,提供了把一个bean转换Map,设置获取bean get set方法等
BeanUtils(populate填充,把一个Map转换为Bean) 看了半天,觉得只有populate方法用得上。其他的用PropertyUtils即可
与Spring core BeanUtils对比,略显薄弱,可用性不强
MethodUtils 反射方法调用 invokeMethodinvokeMethod(Object object, String methodName,Object[] args) 大量重载
--------End-----------
commons-io
--------Start---------
FilenameUtils 文件名称一些操作,如判断文件扩展名称等
FileUtils 文件工具类
IOUtils 主要提供了IO常见操作
Stream 转换,关闭Stream等操作
FileUtils文件工具类
内置提供了大量文件转换方法,如readFileToString(File,Path)…
--------End-----------
commons-lang
--------Start---------
CharEncoding 字符常量提供,是否是支持的字符编码判断
ArrayUtils 数组工具类,提供数组的常用方法,null判断等相关
StringUtils 功能很强大,字符常见操作,isNotBlank,特色的Split方法等
StringEscapeUtils 对javascript,html,sql等语句进行过滤
SystemUtils 系统一些常量
SerializationUtils 序列化操作,ObjectInputStream output等相关
NumberUtils 数字转换字符串操作,敏捷开发,解决了开发中大量字符与Number转换,及异常等问题
DateUtils 日期操作相关,如添加一天等
DateFormatUtils 日期转换字符相关
ExceptionUtils 获取异常信息,存日志时很有用,能帮助你获取Root异常。
ClassUtils Class工具类,代表性方法(getAllSuperclasses,getPackageName,isAssignable)
--------End-----------
commons-collections
--------Start---------
CollectionUtils 集合常见操作null判断等
MapUtils Map一些操作
如 String getString(map,key)… 代码简单
--------End-----------
commons-codec 常见编码操作,byte MD5加密等
--------Start---------
DigestUtils
Base64
URLCodec
--------End-----------
commons-beanutils
--------Start---------
ConvertUtils 类型转换工具类,功能强大
PropertyUtils 字段属性操作,提供了把一个bean转换Map,设置获取bean get set方法等
BeanUtils(populate填充,把一个Map转换为Bean) 看了半天,觉得只有populate方法用得上。其他的用PropertyUtils即可
与Spring core BeanUtils对比,略显薄弱,可用性不强
MethodUtils 反射方法调用 invokeMethodinvokeMethod(Object object, String methodName,Object[] args) 大量重载
--------End-----------
相关文章推荐
- Cause: org.apache.ibatis.reflection.ReflectionException: Could not set property 'orderdetails' of 'class com.luchao.mybatis.first.po.Orders' with value 'Orderdetail [id=null, ordersId=3, itemsId=1, it
- apache设置默认虚拟主机
- Apache Thrift - 可伸缩的跨语言服务开发框架
- CentOS 6.5环境下使用HAProxy+apache实现web服务的动静分离
- CentOS 6.5环境下使用HAProxy+apache实现web服务的动静分离
- win7安装apache或者php 5.7缺少vcruntime140.dll的问题
- windows下配置Apache的vhost
- apache shiro的工作流程分析
- apache commons io Findbugs报告(2016-04-21更新)
- Apache关闭VirtualHost的Log日志记录
- apache commons io 下载(2016-04-21更新)
- Shiro学习总结(2)——Apache Shiro快速入门教程
- CentOS 6.5系统安装配置LAMP(Apache+PHP5+MySQL)服务器环境
- Apache用户认证
- apache commons fileupload cpd报告
- ubutu apt—get 安装apache2 的启动 命令
- apache commons fileupload pmd报告
- Class org.apache.hadoop.io.compress.BZip2Codec not found
- Wamp2.5(Apache2.4.9)外网访问403(Forbidden)错误
- ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing