org.apache.directory.server.core.avltree
Interface Marshaller<E>

All Known Implementing Classes:
ArrayMarshaller, AvlTreeMarshaller, BTreeRedirectMarshaller, DefaultMarshaller, MarshallerSerializerBridge

public interface Marshaller<E>

An interface to marshall/unmarshal the AVLTree keys.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Method Summary
 E deserialize(byte[] bytes)
           
 byte[] serialize(E object)
           
 

Method Detail

serialize

byte[] serialize(E object)
                 throws java.io.IOException
Throws:
java.io.IOException

deserialize

E deserialize(byte[] bytes)
              throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.