net.sourceforge.hiveutils.util
Class PropertyPathUtils

java.lang.Object
  extended by net.sourceforge.hiveutils.util.PropertyPathUtils

public final class PropertyPathUtils
extends java.lang.Object

Utility class to ease access to an access property through the use of "paths" (dotted chain of property names).

Author:
Jean-Francois Poilpret

Method Summary
static java.lang.Class getType(java.lang.Class target, java.lang.String propertyPath)
           
static java.lang.Object read(java.lang.Object target, java.lang.String propertyPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

read

public static java.lang.Object read(java.lang.Object target,
                                    java.lang.String propertyPath)

getType

public static java.lang.Class getType(java.lang.Class target,
                                      java.lang.String propertyPath)