net.smartlab.web.bean
Class FloatConverter

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

public class FloatConverter
extends NumberConverter

TODO documentation

Author:
rlogiacco

Constructor Summary
FloatConverter()
          TODO documentation
FloatConverter(float 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

FloatConverter

public FloatConverter()
TODO documentation


FloatConverter

public FloatConverter(float 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.