org.hibernate.search.indexes.serialization.impl
Class SerializationHelper

java.lang.Object
  extended by org.hibernate.search.indexes.serialization.impl.SerializationHelper

public final class SerializationHelper
extends Object

Author:
Emmanuel Bernard

Method Summary
static byte[] toByteArray(Serializable instance)
           
static
<T> T
toInstance(byte[] data, Class<T> clazz)
           
static Serializable toSerializable(byte[] data, ClassLoader loader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toByteArray

public static byte[] toByteArray(Serializable instance)

toInstance

public static <T> T toInstance(byte[] data,
                               Class<T> clazz)

toSerializable

public static Serializable toSerializable(byte[] data,
                                          ClassLoader loader)


Copyright © 2006–2013 Hibernate. All rights reserved.