Package org.fastnate.data.properties
Class NumberConverter
java.lang.Object
org.fastnate.data.properties.NumberConverter
- All Implemented Interfaces:
PropertyConverter<Number>
Converts a string from an import file to a number.
- Author:
- Tobias Liefke
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NumberConverter
public NumberConverter()
-
-
Method Details
-
convert
Description copied from interface:PropertyConverterConverts a value from import file to Java.- Specified by:
convertin interfacePropertyConverter<Number>- Parameters:
targetType- the type of the target propertyvalue- the value in the import file- Returns:
- the value in Java
-