Package org.jfree.report.util.beans
Class BigIntegerValueConverter
java.lang.Object
org.jfree.report.util.beans.BigIntegerValueConverter
- All Implemented Interfaces:
ValueConverter
A class that handles the conversion of
BigInteger attributes to and
from their String representation.- Author:
- Thomas Morgner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts the attribute to a string.Converts a string to aBigInteger.
-
Constructor Details
-
BigIntegerValueConverter
public BigIntegerValueConverter()Creates a new value converter.
-
-
Method Details
-
toAttributeValue
Converts the attribute to a string.- Specified by:
toAttributeValuein interfaceValueConverter- Parameters:
o- the attribute (BigIntegerexpected).- Returns:
- A string representing the
BigIntegervalue.
-
toPropertyValue
Converts a string to aBigInteger.- Specified by:
toPropertyValuein interfaceValueConverter- Parameters:
s- the string.- Returns:
- a
BigInteger.
-