Package org.jeasy.batch.core.converter
Class FloatTypeConverter
- java.lang.Object
-
- org.jeasy.batch.core.converter.FloatTypeConverter
-
- All Implemented Interfaces:
TypeConverter<java.lang.String,java.lang.Float>
public class FloatTypeConverter extends java.lang.Object implements TypeConverter<java.lang.String,java.lang.Float>
Float type converter. Does not acceptnullor empty strings.- Author:
- Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
-
-
Constructor Summary
Constructors Constructor Description FloatTypeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Floatconvert(java.lang.String value)Convert a source type into a target type.
-
-
-
Method Detail
-
convert
public java.lang.Float convert(java.lang.String value)
Convert a source type into a target type.- Specified by:
convertin interfaceTypeConverter<java.lang.String,java.lang.Float>- Parameters:
value- the input value to convert- Returns:
- The converted value
-
-