public class SerializerHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
Log
|
Modifier and Type | Method and Description |
---|---|
static ProductImages |
deSerializeProductImages(byte[] compressedBytes)
Serialize the ProductImages object into a compressed String for storage in a hashtable
|
static byte[] |
serializeProductImages(ProductImages prodImg)
Serialize the ProductImages object into a compressed String for storage in a hashtable
|
public static byte[] serializeProductImages(ProductImages prodImg) throws java.io.IOException
prodImg
- the prodImgjava.io.IOException
- an unexpected IOException exceptionpublic static ProductImages deSerializeProductImages(byte[] compressedBytes)
compressedBytes
- serialised, compressed form of the ProductImages objectCopyright © 2018 DS Data Systems UK Ltd.