org.terracotta.quartz.collections
Class SerializationHelper

java.lang.Object
  extended by org.terracotta.quartz.collections.SerializationHelper

public class SerializationHelper
extends Object


Constructor Summary
SerializationHelper()
           
 
Method Summary
static Object deserialize(byte[] bytes)
           
static Object deserializeFromString(String key)
           
static byte[] serialize(Object obj)
           
static String serializeToString(Object key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializationHelper

public SerializationHelper()
Method Detail

serialize

public static byte[] serialize(Object obj)

deserialize

public static Object deserialize(byte[] bytes)

deserializeFromString

public static Object deserializeFromString(String key)
                                    throws IOException,
                                           ClassNotFoundException
Throws:
IOException
ClassNotFoundException

serializeToString

public static String serializeToString(Object key)
                                throws IOException
Throws:
IOException


Copyright 2001-2019, Terracotta, Inc.