Interface BandanaSerializer

  • All Known Implementing Classes:
    XStreamBandanaSerializer

    public interface BandanaSerializer
    Interface providing object serialization and deserialization for Bandana records.
    • Method Detail

      • serialize

        void serialize​(Object obj,
                       Writer writer)
                throws IOException
        Serialize an object.
        Parameters:
        obj - the object to serialize
        writer - a writer to serialize the object to
        Throws:
        IOException
      • deserialize

        Object deserialize​(Reader reader)
                    throws IOException
        Deserialize an object.
        Parameters:
        reader - a reader providing the serialized object
        Returns:
        the deserialized object
        Throws:
        IOException