| |
|
| java.lang.Object org.jfree.report.util.beans.ArrayValueConverter
ArrayValueConverter | public class ArrayValueConverter implements ValueConverter(Code) | | An ValueConverter that handles Arrays. Conversion to arrays is done
using a CSV string.
author: Thomas Morgner |
ArrayValueConverter | public ArrayValueConverter(Class arrayClass, ValueConverter elementConverter)(Code) | | Creates a new ArrayValueConverter for the given element type and
array type.
Parameters: arrayClass - the array type Parameters: elementConverter - the value converter for the array elements. |
toAttributeValue | public String toAttributeValue(Object o) throws BeanException(Code) | | Converts an object to an attribute value.
Parameters: o - the object. the attribute value. throws: BeanException - if there was an error during the conversion. |
toPropertyValue | public Object toPropertyValue(String s) throws BeanException(Code) | | Converts a string to a property value.
Parameters: s - the string. a property value. throws: BeanException - if there was an error during the conversion. |
|
|
|