commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Sokolyuk <>
Subject Preserving property type
Date Sat, 03 Apr 2010 20:47:11 GMT

I wrote a small utility class to convert a POJO into a Map. and I use
BeanUtils.describe() method to do it.
But it looks like describe() returns all POJO properties as Strings, which
gives me trouble.

Could someone please suggest how I can stillget a Map out of a POJO easily,
but preserve the property types, or if they are primitives autobox them into
the appropriate wrappers?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message