KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jofti > store > IEntrySerializer


1 /*
2  * Created on 23-Mar-2006
3  *
4  * TODO To change the template for this generated file go to
5  * Window - Preferences - Java - Code Style - Code Templates
6  */

7 package com.jofti.store;
8
9 import java.nio.ByteBuffer JavaDoc;
10
11 import com.jofti.btree.LeafNodeEntry;
12 import com.jofti.exception.JoftiException;
13
14 /**
15  * @author xenephon
16  *
17  * TODO To change the template for this generated type comment go to
18  * Window - Preferences - Java - Code Style - Code Templates
19  */

20 public interface IEntrySerializer {
21
22       public byte[] convertForStorage(Object JavaDoc obj) throws JoftiException;
23       
24     public LeafNodeEntry convertFromStorage(ByteBuffer JavaDoc buffer) throws JoftiException;
25 }
26
Popular Tags