uk.ac.ic.doc.automed.util
Class ObjectToolKit

java.lang.Object
  extended by uk.ac.ic.doc.automed.util.ObjectToolKit

public final class ObjectToolKit
extends java.lang.Object

ObjectToolKit.java

Author:
Duc M Le dmle@doc.ic.ac.uk Created on 23 August 2006 Department of Computing, Imperial College

Method Summary
static java.lang.Object getObjectFromSerialisation(byte[] serialisedObj)
           
static byte[] getObjectSerialisation(java.io.Serializable obj)
          Return the byte array representation of a serializable ojbect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getObjectSerialisation

public static byte[] getObjectSerialisation(java.io.Serializable obj)
                                     throws AutoMedException
Return the byte array representation of a serializable ojbect

Throws:
AutoMedException

getObjectFromSerialisation

public static java.lang.Object getObjectFromSerialisation(byte[] serialisedObj)
                                                   throws AutoMedException
Throws:
AutoMedException