com.atlassian.confluence.setup.bandana
Interface BandanaSerializer

All Known Implementing Classes:
XStreamBandanaSerializer

public interface BandanaSerializer

Interface providing object serialization and deserialization for Bandana records.


Method Summary
 java.lang.Object deserialize(java.io.Reader reader)
          Deserialize an object.
 void serialize(java.lang.Object obj, java.io.Writer writer)
          Serialize an object.
 

Method Detail

serialize

void serialize(java.lang.Object obj,
               java.io.Writer writer)
               throws java.io.IOException
Serialize an object.

Parameters:
obj - the object to serialize
writer - a writer to serialize the object to
Throws:
java.io.IOException

deserialize

java.lang.Object deserialize(java.io.Reader reader)
                             throws java.io.IOException
Deserialize an object.

Parameters:
reader - a reader providing the serialized object
Returns:
the deserialized object
Throws:
java.io.IOException


Copyright © 2003-2014 Atlassian. All Rights Reserved.