org.objectweb.speedo.mapper.lib
Class Object2JMIFileSerializer

java.lang.Object
  extended byorg.objectweb.speedo.mapper.lib.Object2JMIFileSerializer

public class Object2JMIFileSerializer
extends java.lang.Object

This class contains primitive to serialize and deserialize an Object into a .jmi file.

Author:
S.Chassande-Barrioz

Field Summary
static char[] ext
           
 
Constructor Summary
Object2JMIFileSerializer()
           
 
Method Summary
static java.lang.Object deserialize(java.lang.String jdoFileName, java.lang.ClassLoader cl, org.objectweb.util.monolog.api.Logger logger)
           
static java.lang.String jdoFileName2FileName(java.lang.String jdoFileName)
           
static java.lang.String serialize(java.lang.String output, java.lang.String jdoFileName, java.lang.Object o, org.objectweb.util.monolog.api.Logger logger)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ext

public static final char[] ext
Constructor Detail

Object2JMIFileSerializer

public Object2JMIFileSerializer()
Method Detail

serialize

public static java.lang.String serialize(java.lang.String output,
                                         java.lang.String jdoFileName,
                                         java.lang.Object o,
                                         org.objectweb.util.monolog.api.Logger logger)
                                  throws java.io.IOException
Throws:
java.io.IOException

deserialize

public static java.lang.Object deserialize(java.lang.String jdoFileName,
                                           java.lang.ClassLoader cl,
                                           org.objectweb.util.monolog.api.Logger logger)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

jdoFileName2FileName

public static java.lang.String jdoFileName2FileName(java.lang.String jdoFileName)