DZone Forums
Go Back   DZone Forums > Community > Languages & Frameworks > Java
Reload this Page (commons-bean) howto print all bean properties path?
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Aug 2008
Default (commons-bean) howto print all bean properties path? - 12-15-2008, 03:18 AM

BeanUtils can get property value by path

e.g.

Use Bean Utils to get property value from object : Bean Utils*«*Apache Common*«*Java

BeanUtils.getProperty(movieBean, "director.contactNumber(Home)"));

but how to get all bean properties path? or any utils to help?
e.g.
Map m = ...;
Object v = m.get(path);

Thanks.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP private directory problems with org.apache.commons.net.ftp.FTP magaupe Java 1 09-26-2008 07:27 AM
Error (build.properties does not exist) zohraadnan Eclipse 0 09-22-2008 11:34 AM
How do I specify a path for SWT ImageLoader? zaphod2003 Java 0 05-11-2008 06:21 PM
Accessing properties file keys/values sahuabinash Java 0 04-10-2008 09:39 AM
Can't remove j2ee.jar from build path joezaloom Eclipse 1 02-12-2008 08:46 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com