org.apache.ode.utils

## Class SerializableUtils

- java.lang.Object
- - org.apache.ode.utils.SerializableUtils

-     public class SerializableUtils
      extends java.lang.Object

  Utitlity methods for `Serializable` objects.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SerializableUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.Object` | `cloneSerializable(java.lang.Object obj)` Clone a `Serializable` object; for use when a `clone()` method is not available.
    `static byte[]` | `toBytes(java.lang.Object obj)`
    `static java.lang.Object` | `toObject(byte[] arr, java.lang.ClassLoader cl)`
    `static java.lang.Object` | `toObject(java.io.InputStream binaryStream, java.lang.ClassLoader cl)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SerializableUtils

          public SerializableUtils()

  - ### Method Detail

    - #### cloneSerializable

          public static java.lang.Object cloneSerializable(java.lang.Object obj)

      Clone a `Serializable` object; for use when a `clone()` method is not available.
      Parameters:
        `obj` - object to clone
      Returns:
        clone object
      Throws:
        `java.lang.RuntimeException`

    - #### toBytes

          public static byte[] toBytes(java.lang.Object obj)

    - #### toObject

          public static java.lang.Object toObject(java.io.InputStream binaryStream,
                                                  java.lang.ClassLoader cl)

    - #### toObject

          public static java.lang.Object toObject(byte[] arr,
                                                  java.lang.ClassLoader cl)