一、BeanUtils类(package org.apache.commons.beanUtils)
1.copyProperties方法,声明如下:
public static void copyProperties(Object dest, Object orig)
throws IllegalAccessException, InvocationTargetException ;
作用:Copy property values from the origin bean to the destination bean for all cases where the property names are the same.