org.jbpm.services.task.impl.util

## Class SerializableUtil

- java.lang.Object
- - org.jbpm.services.task.impl.util.SerializableUtil

-     public class SerializableUtil
      extends Object

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Serializable` | `deserialize(byte[] byteArray)`
    `static Serializable` | `deserialize(byte[] byteArray, ClassLoader classLoader)`
    `static byte[]` | `serialize(Serializable object)`
    `static byte[]` | `serialize(Serializable object, ClassLoader classLoader)`

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

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

- - ### Method Detail

    - #### serialize

          public static byte[] serialize(Serializable object)
                                  throws IOException

      Throws:
        `IOException`

    - #### serialize

          public static byte[] serialize(Serializable object,
                                         ClassLoader classLoader)
                                  throws IOException

      Throws:
        `IOException`

    - #### deserialize

          public static Serializable deserialize(byte[] byteArray)
                                          throws IOException,
                                                 ClassNotFoundException

      Throws:
        `IOException`
        `ClassNotFoundException`

    - #### deserialize

          public static Serializable deserialize(byte[] byteArray,
                                                 ClassLoader classLoader)
                                          throws IOException,
                                                 ClassNotFoundException

      Throws:
        `IOException`
        `ClassNotFoundException`

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.