平常工作中的一些现成的方法可以减少我们很多的工作时间,下面只是我总结的一小部分常用的类和方法,我会接着发~文末有余胜军老师的学习视频连接大家感兴趣的可以下载下来看看BeanUtils 类中的方法:public static Map describe(Object bean)英文解释:Return the entire set of properties for which the specified bean provides a read method用处:将java 对象中的属性以及值转换为map,注意返回的map中包含了类信息,如果不需要可以直接remove掉"class"public static void populate(Object bean, Map properties)英文解释:Populate the JavaBeans properties of the specified bean, based on the specified name/value pairs.用处:把指定的键值对填充到指定的java 对象中。跟describe方法正好是反过来的。public static String getNestedProperty(Object bean, String nam
………………………………