xmlBlaster 2.1.0 API

org.xmlBlaster.util.admin.extern
Class SerializeHelper

java.lang.Object
  extended by org.xmlBlaster.util.admin.extern.SerializeHelper

public class SerializeHelper
extends java.lang.Object

Used for Serialization and deserialization for Objects


Field Summary
private  Global glob
           
private static java.util.logging.Logger log
           
private  java.lang.String ME
           
 
Constructor Summary
SerializeHelper(Global glob)
           
 
Method Summary
 java.lang.Object deserializeObject(byte[] mybyte)
          Deserializes byteArray to Java-Object
 byte[] serializeObject(java.lang.Object obj)
          Serializes object to byteArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

glob

private final Global glob

log

private static java.util.logging.Logger log

ME

private final java.lang.String ME
Constructor Detail

SerializeHelper

public SerializeHelper(Global glob)
Method Detail

serializeObject

public byte[] serializeObject(java.lang.Object obj)
                       throws java.io.IOException
Serializes object to byteArray

Throws:
java.io.IOException

deserializeObject

public java.lang.Object deserializeObject(byte[] mybyte)
                                   throws java.io.IOException
Deserializes byteArray to Java-Object

Throws:
java.io.IOException

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.