public class JLupinFSTSerializerImpl extends JLupinBaseFstAbstractSerializer
JLupinSerializer
with FST.Modifier and Type | Method and Description |
---|---|
<T> T |
deserialize(byte[] byteBufferToDeserialize,
Object... params)
Deserialize byte array into object.
|
static JLupinFSTSerializerImpl |
getInstance()
Get the instance of JLupinFSTSerializerImpl.
|
String |
getSerializerName()
Get serializer name.
|
byte[] |
serialize(JLupinOutputParameter jLupinOutputParameter)
Serialize JLupinOutputParameter object to byte array.
|
byte[] |
serialize(Object objectToSerialize,
Object... params)
Serialize object to byte array.
|
serialize
public static JLupinFSTSerializerImpl getInstance()
public byte[] serialize(Object objectToSerialize, Object... params) throws JLupinSerializeException
JLupinSerializer
serialize
in interface JLupinSerializer
serialize
in class JLupinBaseFstAbstractSerializer
objectToSerialize
- object to serializeparams
- not longer used parameterJLupinSerializeException
- on errorpublic byte[] serialize(JLupinOutputParameter jLupinOutputParameter) throws JLupinSerializeException
JLupinSerializer
jLupinOutputParameter
- jLupinOutputParameterJLupinSerializeException
- on errorpublic <T> T deserialize(byte[] byteBufferToDeserialize, Object... params) throws JLupinSerializeException
JLupinSerializer
deserialize
in interface JLupinSerializer
deserialize
in class JLupinBaseFstAbstractSerializer
T
- returned object typebyteBufferToDeserialize
- byte array to deserializeparams
- not longer used parameterJLupinSerializeException
- on errorpublic String getSerializerName()
JLupinSerializer
getSerializerName
in interface JLupinSerializer
getSerializerName
in class JLupinBaseFstAbstractSerializer