org.scopemvc.util.convertor
Class LongStringConvertor

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

public class LongStringConvertor
extends NumberStringConvertor

String convertor for type java.lang.Long.

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

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

LongStringConvertor

public LongStringConvertor()
Method Detail

stringAsValue

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

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.