org.scopemvc.util.convertor
Class IntegerStringConvertor

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

public class IntegerStringConvertor
extends NumberStringConvertor

String convertor for type java.lang.Integer.

Version:
$Revision: 1.3 $ $Date: 2002/09/05 15:41:47 $
Author:
Daniel Michalik
See Also:
NumberStringConvertor

Constructor Summary
IntegerStringConvertor()
           
 
Method Summary
 java.lang.Object stringAsValue(java.lang.String inString)
          Returns parsed number as object of type Integer
 
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

IntegerStringConvertor

public IntegerStringConvertor()
Method Detail

stringAsValue

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

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 using current NumberFormat.
See Also:
DoubleStringConvertor, FloatStringConvertor, IntegerStringConvertor, LongStringConvertor


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