com.evolveum.midpoint.util
Class SerializationUtil

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

public class SerializationUtil
extends java.lang.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 java.lang.Object fromString(java.lang.String string)
           
static java.lang.String toString(java.io.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 java.lang.Object fromString(java.lang.String string)
                                   throws java.io.IOException,
                                          java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

toString

public static java.lang.String toString(java.io.Serializable object)
                                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2012 evolveum. All Rights Reserved.