org.milyn.javabean.decoders
Class BigIntegerDecoder

java.lang.Object
  extended by org.milyn.javabean.decoders.LocaleAwareDecoder
      extended by org.milyn.javabean.decoders.NumberDecoder
          extended by org.milyn.javabean.decoders.BigIntegerDecoder
All Implemented Interfaces:
Serializable, Configurable, DataDecoder, DataEncoder

@DecodeType(value=java.math.BigInteger.class)
public class BigIntegerDecoder
extends NumberDecoder

BigInteger Decoder.

Author:
tom.fennelly@gmail.com
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.milyn.javabean.decoders.NumberDecoder
NumberDecoder.NumberType
 
Nested classes/interfaces inherited from interface org.milyn.javabean.DataDecoder
DataDecoder.Factory
 
Field Summary
 
Fields inherited from class org.milyn.javabean.decoders.NumberDecoder
FORMAT, TYPE
 
Fields inherited from class org.milyn.javabean.decoders.LocaleAwareDecoder
LOCALE, LOCALE_COUNTRY_CODE, LOCALE_LANGUAGE_CODE, VERIFY_LOCALE
 
Constructor Summary
BigIntegerDecoder()
           
 
Method Summary
 Object decode(String data)
          Decode the supplied String data into a new Object data instance.
 
Methods inherited from class org.milyn.javabean.decoders.NumberDecoder
encode, getNumberFormat, getType, isPercentage, setConfiguration
 
Methods inherited from class org.milyn.javabean.decoders.LocaleAwareDecoder
getConfiguration, getLocale, getLocale, isLocalInstalled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigIntegerDecoder

public BigIntegerDecoder()
Method Detail

decode

public Object decode(String data)
              throws DataDecodeException
Description copied from interface: DataDecoder
Decode the supplied String data into a new Object data instance.

Parameters:
data - Data to be decoded.
Returns:
Decoded data Object.
Throws:
DataDecodeException - Error decoding data.


Copyright © 2018. All rights reserved.