|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.granite.util.Introspector
public class Introspector
Basic bean introspector Required for Android environment which does not include java.beans.Intropector
| Constructor Summary | |
|---|---|
Introspector()
|
|
| Method Summary | |
|---|---|
static String |
decapitalize(String name)
Decapitalizes a given string according to the rule: If the first or only character is Upper Case, it is made Lower Case UNLESS the second character is also Upper Case, when the String is returned unchanged |
static void |
flushCaches()
Flushes all BeanInfo caches. |
static void |
flushFromCaches(Class<?> clazz)
Flushes the BeanInfo caches of the specified bean class |
static PropertyDescriptor[] |
getPropertyDescriptors(Class<?> beanClass)
Gets the BeanInfo object which contains the information of
the properties, events and methods of the specified bean class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Introspector()
| Method Detail |
|---|
public static String decapitalize(String name)
name - -
the String to decapitalize
public static void flushCaches()
BeanInfo caches.
public static void flushFromCaches(Class<?> clazz)
BeanInfo caches of the specified bean class
clazz - the specified bean classpublic static PropertyDescriptor[] getPropertyDescriptors(Class<?> beanClass)
BeanInfo object which contains the information of
the properties, events and methods of the specified bean class.
The Introspector will cache the BeanInfo
object. Subsequent calls to this method will be answered with the cached
data.
beanClass - the specified bean class.
BeanInfo of the bean class.
IntrospectionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||