org.formproc.conversion
Class BigIntegerConverter

java.lang.Object
  |
  +--org.formproc.conversion.AbstractTypeConverter
        |
        +--org.formproc.conversion.BigIntegerConverter
All Implemented Interfaces:
TypeConverter

public class BigIntegerConverter
extends AbstractTypeConverter

TypeConverter which converts to a BigInteger. The data objects toString() method will be used to convert the data object to a String first.

Author:
Anthony Eden, Kalman Laszlo

Constructor Summary
BigIntegerConverter()
           
 
Method Summary
 java.lang.Object convert(java.lang.Object data, java.util.Locale locale)
          Convert the given data object to a BigInteger.
 
Methods inherited from class org.formproc.conversion.AbstractTypeConverter
loadConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigIntegerConverter

public BigIntegerConverter()
Method Detail

convert

public java.lang.Object convert(java.lang.Object data,
                                java.util.Locale locale)
                         throws java.lang.Exception
Convert the given data object to a BigInteger.

Parameters:
data - The data
locale - The Locale
Returns:
The resulting object
Throws:
java.lang.Exception


Copyright (c) 2001-2003 Anthony Eden. All Rights Reserved.