io.leopard.data4j.memdb
Class SerializeImpl

java.lang.Object
  extended by io.leopard.data4j.memdb.SerializeImpl
All Implemented Interfaces:
Serialize

public class SerializeImpl
extends java.lang.Object
implements Serialize


Constructor Summary
SerializeImpl()
           
 
Method Summary
static Serialize getInstance()
           
 java.lang.String serialize(java.lang.Object obj)
           
<T> T
toObject(java.lang.String json, java.lang.Class<T> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializeImpl

public SerializeImpl()
Method Detail

getInstance

public static Serialize getInstance()

serialize

public java.lang.String serialize(java.lang.Object obj)
Specified by:
serialize in interface Serialize

toObject

public <T> T toObject(java.lang.String json,
                      java.lang.Class<T> clazz)
Specified by:
toObject in interface Serialize


Copyright © 2014-2015. All Rights Reserved.