net.sf.fmj.utility
Class SerializationUtils

java.lang.Object
  extended by net.sf.fmj.utility.SerializationUtils

public class SerializationUtils
extends java.lang.Object

Utilities for serializing/de-serializing objects using standard Java serialization.

Author:
Ken Larson

Constructor Summary
SerializationUtils()
           
 
Method Summary
static Format deserialize(java.lang.String s)
           
static java.lang.String serialize(Format f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializationUtils

public SerializationUtils()
Method Detail

serialize

public static java.lang.String serialize(Format f)
                                  throws java.io.IOException
Throws:
java.io.IOException

deserialize

public static Format deserialize(java.lang.String s)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException