dsto.dfc.swing.persistence
Class KbmlSerializer

java.lang.Object
  extended by dsto.dfc.swing.persistence.KbmlSerializer
All Implemented Interfaces:
ISerializer

public class KbmlSerializer
extends Object
implements ISerializer

Serializer that uses KBML IO.

Version:
$Revision$
Author:
mpp

Constructor Summary
KbmlSerializer()
           
 
Method Summary
 Object deserialize(InputStream input)
           
static KbmlSerializer getInstance()
           
 void serialize(OutputStream output, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KbmlSerializer

public KbmlSerializer()
Method Detail

getInstance

public static KbmlSerializer getInstance()

serialize

public void serialize(OutputStream output,
                      Object object)
               throws IOException
Specified by:
serialize in interface ISerializer
Throws:
IOException

deserialize

public Object deserialize(InputStream input)
                   throws IOException,
                          ClassNotFoundException
Specified by:
deserialize in interface ISerializer
Throws:
IOException
ClassNotFoundException


Copyright © 2008 Commonwealth of Australia