public class BufferedImageByteBufferConverter extends Object implements TypeConverter<BufferedImage,ByteBuffer>
| Constructor and Description |
|---|
BufferedImageByteBufferConverter() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
toDatastoreType(BufferedImage memberValue)
Method to convert the passed member value to the datastore type.
|
BufferedImage |
toMemberType(ByteBuffer datastoreValue)
Method to convert the passed datastore value to the member type.
|
public ByteBuffer toDatastoreType(BufferedImage memberValue)
TypeConvertertoDatastoreType in interface TypeConverter<BufferedImage,ByteBuffer>memberValue - Value from the memberpublic BufferedImage toMemberType(ByteBuffer datastoreValue)
TypeConvertertoMemberType in interface TypeConverter<BufferedImage,ByteBuffer>datastoreValue - Value from the datastoreCopyright © 2020. All rights reserved.