Class StringToDoubleConverter
- java.lang.Object
-
- org.craftercms.commons.converters.impl.StringToDoubleConverter
-
-
Constructor Summary
Constructors Constructor Description StringToDoubleConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
convert(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:Converter
Returns the class of the objects this converter converts from.- Specified by:
getSourceClass
in interfaceConverter<String,Double>
-
getTargetClass
public Class<?> getTargetClass()
Description copied from interface:Converter
Returns the class of the objects this converter converts to.- Specified by:
getTargetClass
in interfaceConverter<String,Double>
-
-