org.jfree.report.util.beans
public class LocaleValueConverter extends java.lang.Object implements ValueConverter
Constructor and Description |
---|
LocaleValueConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toAttributeValue(java.lang.Object o)
Converts an object to an attribute value.
|
java.lang.Object |
toPropertyValue(java.lang.String s)
Converts a string to a property value.
|
public java.lang.String toAttributeValue(java.lang.Object o) throws BeanException
toAttributeValue
in interface ValueConverter
o
- the object.BeanException
- if there was an error during the conversion.public java.lang.Object toPropertyValue(java.lang.String s) throws BeanException
toPropertyValue
in interface ValueConverter
s
- the string.BeanException
- if there was an error during the conversion.