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