fr.ird.converter
Class FloatConverter
java.lang.Object
fr.ird.converter.FloatConverter
- All Implemented Interfaces:
- org.apache.commons.beanutils.Converter
public class FloatConverter
- extends Object
- implements org.apache.commons.beanutils.Converter
A float converter which is not dependant on user locale to obtain the locale
dot representation.
It can transform 0.2 and also 0, 2.
- Since:
- 1.3
- Author:
- tchemit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FloatConverter
public FloatConverter()
convert
public Object convert(Class aClass,
Object value)
- Specified by:
convert in interface org.apache.commons.beanutils.Converter
valueOf
protected Float valueOf(String value)
isEnabled
protected boolean isEnabled(Class<?> aClass)
getType
public Class<?> getType()
Copyright © 2010-2011 IRD. All Rights Reserved.