|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.terracotta.SerializationHelper
public class SerializationHelper
XXX: Copy from to satisfy dependencies
Constructor Summary | |
---|---|
SerializationHelper()
|
Method Summary | |
---|---|
static Object |
deserialize(byte[] bytes)
Deserialize |
static Object |
deserializeFromString(String key)
Deserialize |
static byte[] |
serialize(Object obj)
Serialize object to byte array |
static String |
serializeToString(Object key)
Serialize object to string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SerializationHelper()
Method Detail |
---|
public static byte[] serialize(Object obj)
obj
-
public static Object deserialize(byte[] bytes)
bytes
-
public static Object deserializeFromString(String key) throws IOException, ClassNotFoundException
key
-
IOException
ClassNotFoundException
public static String serializeToString(Object key) throws IOException
key
-
IOException
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |