API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans. Introspector View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      Introspector
Implements
Subclasses
Description
public class Introspector
  The Introspector class provides a standard way for tools to learn about the properties, events, and methods supported by a target Java Bean.
See also:   
Constructors
private Introspector (Class beanClass, Class stopClass, int flags) throws IntrospectionException
Methods
Hide/Show inherited methods
publicstatic String decapitalize (String name)
  Utility method to take a string and convert it to normal Java variable name capitalization.
pack-privatestatic Method findMethod (Class cls, String methodName, int argCount)
Find a target methodName on a given class.
pack-privatestatic Method findMethod (Class cls, String methodName, int argCount, Class args)
  Find a target methodName with specific parameter list on a given class.
publicstatic void flushCaches ()
  Flush all of the Introspector's internal caches.
publicstatic void flushFromCaches (Class<Object> clz)
  Flush the Introspector's internal cached information for a given class.
publicstatic BeanInfo getBeanInfo (Class<Object> beanClass) throws IntrospectionException
  Introspect on a Java Bean and learn about all its properties, exposed methods, and events.
publicstatic BeanInfo getBeanInfo (Class<Object> beanClass, Class<Object> stopClass) throws IntrospectionException
  Introspect on a Java bean and learn all about its properties, exposed methods, below a given "stop" point.
publicstatic BeanInfo getBeanInfo (Class<Object> beanClass, int flags) throws IntrospectionException
  Introspect on a Java bean and learn about all its properties, exposed methods, and events, subject to some control flags.
publicstaticsynchronized String getBeanInfoSearchPath ()
  Gets the list of package names that will be used for finding BeanInfo classes.
pack-privatestatic Object instantiate (Class sibling, String className) throws InstantiationException IllegalAccessException ClassNotFoundException
  Try to create an instance of a named class.
pack-privatestatic boolean isSubclass (Class a, Class b)
  Return true if class a is either equivalent to class b, or if class a is a subclass of class b, i.e.
publicstaticsynchronized void setBeanInfoSearchPath (String path)
  Change the list of package names that will be used for finding BeanInfo classes.
Fields
Hide/Show inherited fields
publicfinalstatic int IGNORE_ALL_BEANINFO = "3"
publicfinalstatic int IGNORE_IMMEDIATE_BEANINFO = "2"
publicfinalstatic int USE_ALL_BEANINFO = "1"
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar