Constructs a PropertyDescriptor for a property that follows
the standard Java convention by having getFoo and setFoo
accessor methods. Thus if the argument name is "fred", it will
assume that the writer method is "setFred" and the reader method
is "getFred" (or "isFred" for a boolean property). Note that the
property name should start with a lower case character, which will
be capitalized in the method names.
Parameters:
-
propertyName - The programmatic name of the property.
-
beanClass - The Class object for the target bean. For
example sun.beans.OurButton.class.
Throws:
-
IntrospectionException - if an exception occurs during
introspection.