org.omnaest.utils.structure.element.converter
Class ElementConverterStringToInteger
java.lang.Object
org.omnaest.utils.structure.element.converter.ElementConverterStringToInteger
- All Implemented Interfaces:
- Serializable, ElementConverter<String,Integer>, ElementConverterTypeAware<String,Integer>, ElementConverterTypeAwareSerializable<String,Integer>
public class ElementConverterStringToInteger
- extends Object
- implements ElementConverterTypeAwareSerializable<String,Integer>
- Author:
- Omnaest
- See Also:
Integer,
ElementConverterTypeAware,
ElementConverterNumberToString,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementConverterStringToInteger
public ElementConverterStringToInteger()
convert
public Integer convert(String element)
- Description copied from interface:
ElementConverter
- Transforms a single element from one type into another.
- Specified by:
convert in interface ElementConverter<String,Integer>
- Returns:
- converted element
getSourceAndTargetType
public ElementConverterTypeAware.SourceAndTargetType<String,Integer> getSourceAndTargetType()
- Description copied from interface:
ElementConverterTypeAware
- Returns the
ElementConverterTypeAware.SourceAndTargetType of the ElementConverter
- Specified by:
getSourceAndTargetType in interface ElementConverterTypeAware<String,Integer>
- Returns:
Copyright © 2013. All Rights Reserved.