Package org.jfree.report.util.beans
Class ShortValueConverter
java.lang.Object
org.jfree.report.util.beans.ShortValueConverter
- All Implemented Interfaces:
ValueConverter
- Author:
- Thomas Morgner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts the attribute to a string.Converts a string to aInteger.
-
Constructor Details
-
ShortValueConverter
public ShortValueConverter()Creates a new value converter.
-
-
Method Details
-
toAttributeValue
Converts the attribute to a string.- Specified by:
toAttributeValuein interfaceValueConverter- Parameters:
o- the attribute (Integerexpected).- Returns:
- A string representing the
Integervalue.
-
toPropertyValue
Converts a string to aInteger.- Specified by:
toPropertyValuein interfaceValueConverter- Parameters:
s- the string.- Returns:
- a
Integer.
-