com.evolveum.midpoint.util
Class SerializationUtil

java.lang.Object
  extended by com.evolveum.midpoint.util.SerializationUtil

public class SerializationUtil
extends Object

Collection of java.io serialization utilities. WARNING: these utilities are not supposed to be used in a production code. They are intended to be used in tests, prototyping and maybe some run-time diagnostics tools (but think twice before using them anyway).

Author:
Radovan Semancik

Constructor Summary
SerializationUtil()
           
 
Method Summary
static Object fromString(String string)
           
static String toString(Serializable object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializationUtil

public SerializationUtil()
Method Detail

fromString

public static Object fromString(String string)
                         throws IOException,
                                ClassNotFoundException
Throws:
IOException
ClassNotFoundException

toString

public static String toString(Serializable object)
                       throws IOException
Throws:
IOException


Copyright © 2013 evolveum. All Rights Reserved.