|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object olg.csv.bean.impl.PropertyFormatter olg.csv.bean.impl.PropertyFormatter.DelegatePropertyReader
private static final class PropertyFormatter.DelegatePropertyReader
PropertyFormatter to use to represent a characterstic of a field as a string.
Field Summary | |
---|---|
private Method |
getter
The method to extract the field. |
private PropertyFormatter |
propertyFormatter
The propertyFormatter used to represents the field. |
Fields inherited from class olg.csv.bean.impl.PropertyFormatter |
---|
name |
Constructor Summary | |
---|---|
PropertyFormatter.DelegatePropertyReader(Method getter,
String name,
PropertyFormatter propertyFormatter)
|
Method Summary | |
---|---|
String |
getFullName()
Return the full name of the property. |
String |
getName()
Returns the name of the property. |
String |
toString(Object object)
Returns a string representation of the property. |
Methods inherited from class olg.csv.bean.impl.PropertyFormatter |
---|
equals, getConcatePropertyReader, getDelegatePropertyReader, getPropertyReader, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Method getter
private final PropertyFormatter propertyFormatter
Constructor Detail |
---|
PropertyFormatter.DelegatePropertyReader(Method getter, String name, PropertyFormatter propertyFormatter)
getter
- the method to invoke to get the property value.name
- the property name.propertyFormatter
- the formatter. format the property value as a string.Method Detail |
---|
public String getFullName()
PropertyFormatter
getFullName
in class PropertyFormatter
public String getName()
PropertyFormatter
getName
in class PropertyFormatter
public String toString(Object object)
PropertyFormatter
Throws a PropertyException when errors occurs during the formatting.
toString
in class PropertyFormatter
object
- Object from which product a string representation of its
property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |