Static Public Member Functions | |
final String | generateUniqueBeanName (Object bean) |
final void | registerEditorSearchPaths (String[] pathsToRegister) |
final void | registerBeanInfoSearchPaths (String[] pathsToRegister) |
final java.awt.Image | loadImage (final String imagePathname, final Class relatedClass) |
final Class | findTargetClass (Object bean) |
final boolean | hasExplicitBeanInfo (Class clazz) |
void | addWeakListenerByReflection (PropertyChangeListener listener, Object source) |
Private Member Functions | |
BeanUtils () | |
Static Private Member Functions | |
final String[] | computePaths (String[] existingPaths, String[] pathsToRegister) |
final boolean | checkDoesBeanInfoPathExist (String[] paths, String path) |
|
|
|
Add a weak PropertyChangeListener to an object, using reflection to look up the addPropertyChangeListener method
|
|
|
|
|
|
Finds the first public superclass of the given bean. Should not introspect on a private class, because then the method objects used for the property descriptors will not be callable without an IllegalAccessException, even if overriding a public method from a public superclass.
|
|
Generates a unique name for the bean using the same convention as the implementation of toString() in Object, which is : "bean class name"+@+"hash code of the bean in hexadecimal"
|
|
Checks whether there is an explicit bean info for given class.
|
|
This is a utility method to help in loading icon images. It takes the pathname of a resource file associated with the a given class and loads an image object from that file. Typically images will be GIFs.
The pathname should be relative to the given class and be contained in the classpath. For instance if the related class is in
|
|
Registers a set of paths in the
Use this method when you have Note that paths are not added if they are already present.
|
|
Registers a set of paths in the
Use this method when you have Note that paths are not added if they are already present.
|