BeanUtils.populate(obj, map);

public static void populate(Object bean, Map<String, ? extends Object> properties)
throws IllegalAccessException, InvocationTargetException {

BeanUtilsBean.getInstance().populate(bean, properties);
}
BeanUtils.populate(obj, map);
posted @ 2017-01-05 14:45  bcombetter  阅读(929)  评论(0编辑  收藏  举报