public class JavaSerializer extends AbstractSerializer
Modifier and Type | Field and Description |
---|---|
static JavaSerializer |
instance |
Constructor and Description |
---|
JavaSerializer() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(java.lang.Object bytes,
Session session) |
java.lang.Class |
getType() |
java.lang.Object |
serialize(java.lang.Object object,
Session session) |
java.lang.String |
toString() |
initialize
public static final JavaSerializer instance
public java.lang.Object serialize(java.lang.Object object, Session session)
public java.lang.Class getType()
getType
in interface Serializer
getType
in class AbstractSerializer
public java.lang.Object deserialize(java.lang.Object bytes, Session session)
public java.lang.String toString()
toString
in class AbstractSerializer