Class PropertyWrapper
- java.lang.Object
-
- com.univocity.parsers.common.beans.PropertyWrapper
-
public final class PropertyWrapper extends java.lang.Object
Wrapper for a implementation of PropertyDescriptor from eitherjava.beans.PropertyDescriptor
orcom.googlecode.openbeans.PropertyDescriptor
. Used to eliminate compile-time dependencies with packagejava.beans.*
which is not available to Android developers.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name of a property of a Java bean.java.lang.reflect.Method
getReadMethod()
Returns the method that should be used to read the value of a property of a Java bean.java.lang.reflect.Method
getWriteMethod()
Returns the method that should be used to write a value to a property of a Java bean.
-
-
-
Method Detail
-
getWriteMethod
public final java.lang.reflect.Method getWriteMethod()
Returns the method that should be used to write a value to a property of a Java bean. Might benull
.- Returns:
- The method that should be used to write the property value, if available.
-
getReadMethod
public final java.lang.reflect.Method getReadMethod()
Returns the method that should be used to read the value of a property of a Java bean. Might benull
.- Returns:
- The method that should be used to read the property value, if available.
-
getName
public final java.lang.String getName()
Returns the name of a property of a Java bean. Might benull
.- Returns:
- The property name.
-
-