This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
which API can get property type in a nest path ?
Joined: Dec 23, 2003
Apr 11, 2010 19:11:03
which API (apache commons or Spring API) can get property type in a nest path ?
PropertyUtil.getType(MyObject.class, "customer.name"); // customer is a field in MyObject instance PropertyUtil.getType(MyObject.class, "customerList.name"); // customerList is list of Customer
Joined: Sep 29, 2008
Apr 11, 2010 19:49:05
Apache Commons EL is one option. There are several really good EL libraries of varying capabilities (Apache's JEXL, MVEL, OGNL, more) though, depending on your needs.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: which API can get property type in a nest path ?
Error passing values to a method - any help!!
Null Point Exception
Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
Display:table tag in Struts Application
Display:table tag in Struts application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015