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