| java.lang.Object org.netbeans.modules.sun.manager.jbi.util.BeanInfoHelper
BeanInfoHelper | public class BeanInfoHelper (Code) | | author: jqian |
Method Summary | |
public static PropertyDescriptor | getPropertyDescriptor(Class beanClass, Class resourceBundleClass, String getter, String setter, String nameBundleKey, String descBundleKey) Gets the descriptor of a bean property.
Parameters: beanClass - a bean class Parameters: resourceBundleClass - a class used for locating the resource bundle;if null , then the bean class is used for locating the resource bundle. |
getPropertyDescriptor | public static PropertyDescriptor getPropertyDescriptor(Class beanClass, Class resourceBundleClass, String getter, String setter, String nameBundleKey, String descBundleKey) throws IntrospectionException(Code) | | Gets the descriptor of a bean property.
Parameters: beanClass - a bean class Parameters: resourceBundleClass - a class used for locating the resource bundle;if null , then the bean class is used for locating the resource bundle. Parameters: getter - getter method name Parameters: setter - setter method name Parameters: nameBundleKey - key (in the resource bundle) for the property's name Parameters: descBundleKey - key (in the resource bundle) for the property's short desciption the descriptor of a bean property throws: java.beans.IntrospectionException - |
|
|