org.hibernate.search.indexes.serialization.impl

## Class SerializationHelper

- java.lang.Object
- - org.hibernate.search.indexes.serialization.impl.SerializationHelper

-     public final class SerializationHelper
      extends Object

  Author:
    Emmanuel Bernard

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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-2017 Red Hat, Inc. All Rights Reserved