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