Package org.fastnate.data.properties
Class CharacterConverter
java.lang.Object
org.fastnate.data.properties.CharacterConverter
- All Implemented Interfaces:
Function<String,,Character> PropertyConverter<Character>
public class CharacterConverter
extends Object
implements PropertyConverter<Character>, Function<String,Character>
Converts a string from an import file to a
Character.- Author:
- Tobias Liefke
-
Constructor Details
-
CharacterConverter
public CharacterConverter()
-
-
Method Details
-
apply
-
convert
Description copied from interface:PropertyConverterConverts a value from import file to Java.- Specified by:
convertin interfacePropertyConverter<Character>- Parameters:
targetType- the type of the target propertyvalue- the value in the import file- Returns:
- the value in Java
-