public abstract class JLupinBaseFstAbstractSerializer extends Object implements JLupinSerializer
JLupinSerializer
.Constructor and Description |
---|
JLupinBaseFstAbstractSerializer() |
Modifier and Type | Method and Description |
---|---|
abstract <T> T |
deserialize(byte[] byteBufferToDeserialize,
Object... params)
Deserialize byte array into object.
|
abstract String |
getSerializerName()
Get serializer name.
|
byte[] |
serialize(JLupinInputParameter jLupinInputParameter)
Serialize JLupinInputParameter object to byte array.
|
abstract byte[] |
serialize(Object objectToSerialize,
Object... params)
Serialize object to byte array.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
serialize
public abstract byte[] serialize(Object objectToSerialize, Object... params) throws JLupinSerializeException
JLupinSerializer
serialize
in interface JLupinSerializer
objectToSerialize
- object to serializeparams
- not longer used parameterJLupinSerializeException
- on errorpublic byte[] serialize(JLupinInputParameter jLupinInputParameter) throws JLupinSerializeException
JLupinSerializer
serialize
in interface JLupinSerializer
jLupinInputParameter
- jLupinInputParameterJLupinSerializeException
- on errorpublic abstract <T> T deserialize(byte[] byteBufferToDeserialize, Object... params) throws JLupinSerializeException
JLupinSerializer
deserialize
in interface JLupinSerializer
T
- returned object typebyteBufferToDeserialize
- byte array to deserializeparams
- not longer used parameterJLupinSerializeException
- on errorpublic abstract String getSerializerName()
JLupinSerializer
getSerializerName
in interface JLupinSerializer