org.skyscreamer.nevado.jms.util
Class SerializeUtil

java.lang.Object
  extended by org.skyscreamer.nevado.jms.util.SerializeUtil

public class SerializeUtil
extends Object


Constructor Summary
SerializeUtil()
           
 
Method Summary
static Serializable copy(Serializable serializable)
           
static Serializable deserialize(byte[] dataBytes)
           
static Serializable deserializeFromString(String s)
           
static byte[] serialize(Serializable serializable)
           
static String serializeToString(Serializable serializable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializeUtil

public SerializeUtil()
Method Detail

copy

public static Serializable copy(Serializable serializable)
                         throws IOException
Throws:
IOException

serializeToString

public static String serializeToString(Serializable serializable)
                                throws IOException
Throws:
IOException

serialize

public static byte[] serialize(Serializable serializable)
                        throws IOException
Throws:
IOException

deserializeFromString

public static Serializable deserializeFromString(String s)
                                          throws IOException
Throws:
IOException

deserialize

public static Serializable deserialize(byte[] dataBytes)
                                throws IOException
Throws:
IOException


Copyright © 2013. All Rights Reserved.