Class StringToFloatConverter
java.lang.Object
org.craftercms.commons.converters.impl.StringToFloatConverter
Converts String to Float.
- Author:
- avasquez
-
Constructor Details
-
StringToFloatConverter
public StringToFloatConverter()
-
-
Method Details
-
getSourceClass
Description copied from interface:Converter
Returns the class of the objects this converter converts from.- Specified by:
getSourceClass
in interfaceConverter<String,
Float>
-
getTargetClass
Description copied from interface:Converter
Returns the class of the objects this converter converts to.- Specified by:
getTargetClass
in interfaceConverter<String,
Float>
-
convert
Description copied from interface:Converter
Converts the source object from S type to T type.
-