public class JavaSerializationConverter extends Object implements Converter<Object>
ConvertedBy annotation.
If you register it as a serialization converter, it will catch all types.
Or you could extend it and override type().| Constructor and Description |
|---|
JavaSerializationConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
deserializeJava(byte[] bytes) |
Object |
fromString(String string)
Revert.
|
protected byte[] |
serializeJava(Object object) |
String |
toString(Object object)
Convert.
|
Class<Object> |
type() |
public String toString(Object object)
Converterpublic Object fromString(String string)
ConverterfromString in interface Converter<Object>string - the String to convert back to TTprotected byte[] serializeJava(Object object)
protected Object deserializeJava(byte[] bytes)