对于 org.apache.commons.beanutils.BeanUtils 的一些学习
来源:互联网 发布:leslie 矩阵特征根 编辑:程序博客网 时间:2024/06/05 03:19
英文api 如下:
populate
public static void populate(Object bean, Map<String,? extends Object> properties) throws IllegalAccessException, InvocationTargetException
Populate the JavaBeans properties of the specified bean, based on the specified name/value pairs.
使用指定的 键值对 bean来填充 javaBeans属性!
For more details see BeanUtilsBean
.
更多的细节 请看 BeanUtilsBean
- Parameters:
- 参数
bean
- JavaBean whose properties are being populated- 参数 bean - 用来填充JavaBean的 bean
properties
- Map keyed by property name, with the corresponding (String or String[]) value(s) to be set- 参数 属性 - 键值对的Map (key,value)
- Throws:
- 异常抛出
IllegalAccessException
- if the caller does not have access to the property accessor method- 异常: 如果调用者没有访问属性和访问方法
InvocationTargetException
- if the property accessor method throws an exception- 异常:如果访问器方法抛出一个异常
- See Also:
BeanUtilsBean.populate(java.lang.Object, java.util.Map<java.lang.String, ? extends java.lang.Object>)
阅读全文
1 0
- 对于 org.apache.commons.beanutils.BeanUtils 的一些学习
- org.apache.commons.beanutils.BeanUtils
- org.apache.commons.beanutils.BeanUtils;
- BeanUtils--org.apache.commons.beanutils.BeanUtils
- org.apache.commons.beanutils.BeanUtils包的具体用法
- com.sun.org.apache.commons.beanutils.BeanUtils的用法简介
- org.apache.commons.beanutils.BeanUtils 简介
- org.apache.commons.beanutils.BeanUtils 简介
- org.apache.commons.beanutils.BeanUtils用法
- org.apache.commons.beanutils.BeanUtils 简介
- org.apache.commons.beanutils.BeanUtils使用示例
- org.springframework.beans.BeanUtils与org.apache.commons.beanutils.BeanUtils的区别
- org.apache.commons.beanutils.ConversionException:
- org.apache.commons.beanutils.DynaBean
- org/apache/commons/beanutils/Converter
- org.apache.commons.beanutils.DynaBean
- apache.commons.beanutils.BeanUtils
- Apache Commons BeanUtils包学习(4)-BeanUtils
- 如何评价模型的好坏?
- 例3-1 将振幅为1的1Hz正弦波和振幅为0.5的5Hz正弦波相加后进行傅里叶变换。——傅里叶变换理解
- nyoj20吝啬的国度
- Cannot call sendError() after the response has been committed
- Java 开发环境配置
- 对于 org.apache.commons.beanutils.BeanUtils 的一些学习
- Erlang学习笔记(一)Erlang在win10中配置环境
- 计算N的阶乘
- Sublime中增加格式化代码的快捷键
- gcd以及ex_gcd的总结
- 运行MINGW时遇到缺少.dll
- 认识系统架构
- js中new一个对象会发生什么
- 单例模式