org.scopemvc.util.convertor
Class BigIntegerStringConvertor

java.lang.Object
  |
  +--org.scopemvc.util.convertor.NullStringConvertor
        |
        +--org.scopemvc.util.convertor.NumberStringConvertor
              |
              +--org.scopemvc.util.convertor.BigIntegerStringConvertor
All Implemented Interfaces:
StringConvertor

public class BigIntegerStringConvertor
extends NumberStringConvertor

String convertor for type BigInteger.

Version:
$Revision: 1.3 $ $Date: 2002/09/05 15:41:46 $
Author:
Daniel Michalik

Constructor Summary
BigIntegerStringConvertor()
           
 
Method Summary
 java.lang.Object stringAsValue(java.lang.String inString)
          Returns parsed number as object of type BigInteger.
 
Methods inherited from class org.scopemvc.util.convertor.NumberStringConvertor
getNumberFormat, setNumberFormat, valueAsString
 
Methods inherited from class org.scopemvc.util.convertor.NullStringConvertor
getNullAsString, isNull, setNullAsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigIntegerStringConvertor

public BigIntegerStringConvertor()
Method Detail

stringAsValue

public java.lang.Object stringAsValue(java.lang.String inString)
                               throws java.lang.IllegalArgumentException
Returns parsed number as object of type BigInteger.

Note: for parsing is not used NumberFormat, but BigInteger constructor.

Specified by:
stringAsValue in interface StringConvertor
Overrides:
stringAsValue in class NumberStringConvertor
Parameters:
inString - TODO: Describe the Parameter
Returns:
TODO: Describe the Return Value
Throws:
java.lang.IllegalArgumentException - can't convert from String.
See Also:
DoubleStringConvertor, FloatStringConvertor, IntegerStringConvertor, LongStringConvertor


Copyright © 2000-2002 The Scope Team. All Rights Reserved.