com.ibm.ulc.ui.dataTypes
Class UIIntegerNumberFormatConverter

java.lang.Object
  |
  +--com.ibm.ulc.ui.dataTypes.UINumberFormatConverter
        |
        +--com.ibm.ulc.ui.dataTypes.UIIntegerNumberFormatConverter

public class UIIntegerNumberFormatConverter
extends UINumberFormatConverter

Insert the type's description here. Creation date: (23-Nov-99 12:41:57 PM)


Fields inherited from class com.ibm.ulc.ui.dataTypes.UINumberFormatConverter
fFormat
 
Constructor Summary
UIIntegerNumberFormatConverter()
          UIIntegerNumberFormatConverter constructor comment.
 
Method Summary
 java.lang.Object convertToObject(java.lang.String string)
          convertToObject using NumberFormat If the numberformat does not answer a Long or Double, as promised in the comment of NumberFormat :: Number parse(String, ParsePosition), throw an exception.
 
Methods inherited from class com.ibm.ulc.ui.dataTypes.UINumberFormatConverter
convertToEditString, convertToString, getInstance, setGroupingUsed, setMaximumFractionDigits, setMinimumFractionDigits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIIntegerNumberFormatConverter

public UIIntegerNumberFormatConverter()
UIIntegerNumberFormatConverter constructor comment.
Method Detail

convertToObject

public java.lang.Object convertToObject(java.lang.String string)
                                 throws DataTypeConversionException
convertToObject using NumberFormat If the numberformat does not answer a Long or Double, as promised in the comment of NumberFormat :: Number parse(String, ParsePosition), throw an exception. Do the same if the value is too big. Otherwise, cast the result into an Integer.
Overrides:
convertToObject in class UINumberFormatConverter
Tags copied from interface: IStringConverter
Parameters:
string - java.lang.String
Returns:
java.lang.Object
Throws:
DataTypeConversionException - The exception description.