Package com.gengoai.conversion
Class ByteTypeConverter
- java.lang.Object
-
- com.gengoai.conversion.BaseNumberTypeConverter
-
- com.gengoai.conversion.ByteTypeConverter
-
- All Implemented Interfaces:
TypeConverter
@MetaInfServices(TypeConverter.class) public class ByteTypeConverter extends BaseNumberTypeConverter
Converts object into Byte (seeBaseNumberTypeConverter
for details on conversion.- Author:
- David B. Bracewell
-
-
Constructor Summary
Constructors Constructor Description ByteTypeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
convertNumber(Number number)
Class[]
getConversionType()
Array of classes that this type converter can convert objects to-
Methods inherited from class com.gengoai.conversion.BaseNumberTypeConverter
convert
-
-
-
-
Method Detail
-
convertNumber
protected Object convertNumber(Number number)
- Specified by:
convertNumber
in classBaseNumberTypeConverter
-
getConversionType
public Class[] getConversionType()
Description copied from interface:TypeConverter
Array of classes that this type converter can convert objects to- Returns:
- the classes that this converter can convert to
-
-