java.beans.Introspector and
other classes in the java.beans.* package. This is required to allow Android developers to use univocity-parsers.
Android developers should add have openbeans-1.0.jar
in their classpath to be able to use univocity-parsers.
When available, the classes from package com.googlecode.openbeans.* will be used, otherwise the
bean introspection classes classes from java.beans.* package will be loaded.
If everything fails, then the parser will try to manipulate fields in annotated java beans directly, instead
of using their getters and setters.
| Modifier and Type | Field and Description |
|---|---|
| private static final Method | |
| private static final Map | |
| private static final PropertyWrapper[] | |
| private static final Class | |
| pack-priv static Method | |
| pack-priv static Method | |
| pack-priv static Method | |
| private static final Method |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static Class | |
| private static Method | |
| private static Method | |
| public static PropertyWrapper[] | Returns: an array of all property descriptors of the given class. Might be empty.the class whose property descriptors should be returned beanClass)Returns the property descriptors of all properties available from a class |
| beanInfoMethod | back to summary |
|---|---|
| private static final Method beanInfoMethod | |
| descriptors | back to summary |
|---|---|
| private static final Map<Class<?>, WeakReference<PropertyWrapper[]>> descriptors | |
| EMPTY | back to summary |
|---|---|
| private static final PropertyWrapper[] EMPTY | |
| introspectorClass | back to summary |
|---|---|
| private static final Class<?> introspectorClass | |
| PROPERTY_NAME_METHOD | back to summary |
|---|---|
| pack-priv static Method PROPERTY_NAME_METHOD | |
| PROPERTY_READ_METHOD | back to summary |
|---|---|
| pack-priv static Method PROPERTY_READ_METHOD | |
| PROPERTY_WRITE_METHOD | back to summary |
|---|---|
| pack-priv static Method PROPERTY_WRITE_METHOD | |
| propertyDescriptorMethod | back to summary |
|---|---|
| private static final Method propertyDescriptorMethod | |
| BeanHelper | back to summary |
|---|---|
| private BeanHelper() | |
| findIntrospectorImplementationClass | back to summary |
|---|---|
| private static Class | |
| getBeanInfoMethod | back to summary |
|---|---|
| private static Method getBeanInfoMethod() | |
| getMethod | back to summary |
|---|---|
| private static Method getMethod(String methodName, Method method, boolean fromComponentType) | |
| getPropertyDescriptors | back to summary |
|---|---|
| public static PropertyWrapper[] getPropertyDescriptors(Class<?> beanClass) Returns the property descriptors of all properties available from a class
| |