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)
TypeConverter
toDatastoreType
in interface TypeConverter<BufferedImage,ByteBuffer>
memberValue
- Value from the memberpublic BufferedImage toMemberType(ByteBuffer datastoreValue)
TypeConverter
toMemberType
in interface TypeConverter<BufferedImage,ByteBuffer>
datastoreValue
- Value from the datastoreCopyright © 2018. All rights reserved.