- 链接地址:https://blog.csdn.net/u012483153/article/details/116308129
- 链接标题:Bean转Map方法_bean转map能put-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:4910
文章浏览阅读825次。// Bean --> Map 1: 利用Introspector和PropertyDescriptor 将Bean --> Mappublic static Map<String, Object> transBean2Map(Object obj) throws Exception { if (obj == null) { return null; } Map<String, Object> map = new HashMap<String._bean转map能put
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除
标签:bean转map能put