Package org.jfree.report.util.beans
Class LocaleValueConverter
- java.lang.Object
-
- org.jfree.report.util.beans.LocaleValueConverter
-
- All Implemented Interfaces:
ValueConverter
public class LocaleValueConverter extends java.lang.Object implements ValueConverter
Creation-Date: 24.01.2006, 19:19:03- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description LocaleValueConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoAttributeValue(java.lang.Object o)Converts an object to an attribute value.java.lang.ObjecttoPropertyValue(java.lang.String s)Converts a string to a property value.
-
-
-
Method Detail
-
toAttributeValue
public java.lang.String toAttributeValue(java.lang.Object o) throws BeanExceptionConverts an object to an attribute value.- Specified by:
toAttributeValuein interfaceValueConverter- Parameters:
o- the object.- Returns:
- the attribute value.
- Throws:
BeanException- if there was an error during the conversion.
-
toPropertyValue
public java.lang.Object toPropertyValue(java.lang.String s) throws BeanExceptionConverts a string to a property value.- Specified by:
toPropertyValuein interfaceValueConverter- Parameters:
s- the string.- Returns:
- a property value.
- Throws:
BeanException- if there was an error during the conversion.
-
-