Skip to content

Instantly share code, notes, and snippets.

@arockwell
Created April 2, 2009 14:58
Show Gist options
  • Select an option

  • Save arockwell/89234 to your computer and use it in GitHub Desktop.

Select an option

Save arockwell/89234 to your computer and use it in GitHub Desktop.
Map propertyMap = BeanUtils.describe(bean);
try {
for (Object key: propertyMap.keySet()) {
propertyMap.get(key).toString();
}
} catch (Exception e) {
throw new RuntimeException e;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment