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