net.smartlab.web.bean
Class ByteConverter

java.lang.Object
  extended by net.smartlab.web.bean.Converter
      extended by net.smartlab.web.bean.NumberConverter
          extended by net.smartlab.web.bean.ByteConverter

public class ByteConverter
extends NumberConverter

TODO documentation

Author:
rlogiacco

Constructor Summary
ByteConverter()
          TODO documentation
ByteConverter(byte value)
          TODO documentation
 
Method Summary
 java.lang.Object convert(java.lang.Class type, java.lang.Object value, java.util.Locale locale)
          TODO documentation
 
Methods inherited from class net.smartlab.web.bean.NumberConverter
getDefault, hasDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteConverter

public ByteConverter()
TODO documentation


ByteConverter

public ByteConverter(byte value)
TODO documentation

Parameters:
value -
Method Detail

convert

public java.lang.Object convert(java.lang.Class type,
                                java.lang.Object value,
                                java.util.Locale locale)
                         throws ConversionException
Description copied from class: Converter
TODO documentation

Specified by:
convert in class Converter
Parameters:
type - the target type
value - the value to be converted
locale - the locale to be used for the conversion
Returns:
an instance of the specified type which represents the converted input value
Throws:
ConversionException - if something wrong occurs during conversion or if the conversion couldn't be performed
See Also:
Converter.convert(java.lang.Class, java.lang.Object, java.util.Locale)


Copyright © 2004-2009 The SmartWeb Team. All Rights Reserved.