org.opennms.web
Class BeanUtils

java.lang.Object
  extended by org.opennms.web.BeanUtils

public class BeanUtils
extends Object

BeanUtils class.

Since:
1.8.1
Version:
$Id: $
Author:
ranger

Constructor Summary
BeanUtils()
           
 
Method Summary
static
<T> T
getPathValue(Object bean, String path, Class<T> expectedClass)
          getPathValue
static Collection<String> getProperties(Object bean)
          getProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanUtils

public BeanUtils()
Method Detail

getProperties

public static Collection<String> getProperties(Object bean)

getProperties

Parameters:
bean - a Object object.
Returns:
a Collection object.

getPathValue

public static <T> T getPathValue(Object bean,
                                 String path,
                                 Class<T> expectedClass)

getPathValue

Type Parameters:
T - a T object.
Parameters:
bean - a Object object.
path - a String object.
expectedClass - a Class object.
Returns:
a T object.


Copyright © 2011. All Rights Reserved.