org.milyn.javabean.decoders
Class LongDecoder

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

@DecodeType(value={java.lang.Long.class,long.class})
public class LongDecoder
extends NumberDecoder

Long 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
LongDecoder()
           
 
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

LongDecoder

public LongDecoder()
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.