Class StringToFloatConverter
- java.lang.Object
-
- org.craftercms.commons.converters.impl.StringToFloatConverter
-
-
Constructor Summary
Constructors Constructor Description StringToFloatConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Floatconvert(String source)Converts the source object from S type to T type.Class<?>getSourceClass()Returns the class of the objects this converter converts from.Class<?>getTargetClass()Returns the class of the objects this converter converts to.
-
-
-
Method Detail
-
getSourceClass
public Class<?> getSourceClass()
Description copied from interface:ConverterReturns the class of the objects this converter converts from.- Specified by:
getSourceClassin interfaceConverter<String,Float>
-
getTargetClass
public Class<?> getTargetClass()
Description copied from interface:ConverterReturns the class of the objects this converter converts to.- Specified by:
getTargetClassin interfaceConverter<String,Float>
-
-