类 BeanUtils


  • public class BeanUtils
    extends org.apache.commons.beanutils.BeanUtilsBean
    • 构造器概要

      构造器 
      构造器 说明
      BeanUtils()  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void copyProperties​(java.lang.Object dest, java.lang.Object orig, boolean ignoreNullFlag)  
      • 从类继承的方法 org.apache.commons.beanutils.BeanUtilsBean

        cloneBean, convert, copyProperties, copyProperty, describe, getArrayProperty, getConvertUtils, getIndexedProperty, getIndexedProperty, getInstance, getMappedProperty, getMappedProperty, getNestedProperty, getProperty, getPropertyUtils, getSimpleProperty, initCause, populate, setInstance, setProperty
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • BeanUtils

        public BeanUtils()
    • 方法详细资料

      • copyProperties

        public void copyProperties​(java.lang.Object dest,
                                   java.lang.Object orig,
                                   boolean ignoreNullFlag)
                            throws java.lang.IllegalAccessException,
                                   java.lang.reflect.InvocationTargetException
        参数:
        dest - 目标对象
        orig - 源对象
        ignoreNullFlag - 是否忽略null值
        抛出:
        java.lang.IllegalAccessException - e
        java.lang.reflect.InvocationTargetException - e