Package com.evolveum.midpoint.util
Class SerializationUtil
- java.lang.Object
-
- 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
Constructors Constructor Description SerializationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
fromString(String string)
static String
toString(Object object)
-
-
-
Method Detail
-
fromString
public static <T> T fromString(String string) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
toString
public static String toString(Object object) throws IOException
- Throws:
IOException
-
-