Package org.apache.ofbiz.base.conversion
Class NumberConverters.LongToByte
- java.lang.Object
-
- org.apache.ofbiz.base.conversion.AbstractConverter<java.lang.Long,java.lang.Byte>
-
- org.apache.ofbiz.base.conversion.NumberConverters.LongToByte
-
- All Implemented Interfaces:
Converter<java.lang.Long,java.lang.Byte>
,ConverterLoader
- Enclosing class:
- NumberConverters
public static class NumberConverters.LongToByte extends AbstractConverter<java.lang.Long,java.lang.Byte>
-
-
Constructor Summary
Constructors Constructor Description LongToByte()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Byte
convert(java.lang.Long obj)
Convertsobj
toT
.-
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractConverter
canConvert, convert, getSourceClass, getTargetClass, loadConverters
-
-
-
-
Method Detail
-
convert
public java.lang.Byte convert(java.lang.Long obj) throws ConversionException
Description copied from interface:Converter
Convertsobj
toT
.- Parameters:
obj
- The sourceObject
to convert- Returns:
- The converted
Object
- Throws:
ConversionException
-
-