public final class BeanIntrospector extends Object
public static PropertyDescriptor getPropertyDescriptor(String propertyName, Class<?> beanClass, ResourceBundle rb) throws IntrospectionException
IntrospectionException
public static PropertyDescriptor[] getPropertyDescriptors(Class<?> beanClass, ResourceBundle rb) throws IntrospectionException
IntrospectionException
public static boolean isPropertyReadable(String propertyName, Class<?> beanClass, ResourceBundle rb) throws IntrospectionException
IntrospectionException
public static boolean isPropertyWriteable(String propertyName, Class<?> beanClass, ResourceBundle rb) throws IntrospectionException
IntrospectionException
public static Object getPropertyValue(String propertyName, Object bean, ResourceBundle rb) throws IntrospectionException, IllegalAccessException, InvocationTargetException
public static void setPropertyValue(String propertyName, Object newValue, Object bean, ResourceBundle rb) throws IntrospectionException, IllegalAccessException, InvocationTargetException
public static boolean supportsPropertyChangeListeners(Class<?> beanClass)
public static boolean supportsPropertyChangeListenersByPropertyName(Class<?> beanClass)
public static void addPropertyChangeListener(Object bean, PropertyChangeListener listener) throws NoSuchMethodException, IllegalAccessException
public static void addPropertyChangeListener(Object bean, String propertyName, PropertyChangeListener listener) throws NoSuchMethodException, IllegalAccessException
public static void removePropertyChangeListener(Object bean, PropertyChangeListener listener) throws NoSuchMethodException, IllegalAccessException
public static void removePropertyChangeListener(Object bean, String propertyName, PropertyChangeListener listener) throws NoSuchMethodException, IllegalAccessException
Copyright © 2002–2017 SoftSmithy. All rights reserved.