01: /*
02: * Created on 23-Mar-2006
03: *
04: * TODO To change the template for this generated file go to
05: * Window - Preferences - Java - Code Style - Code Templates
06: */
07: package com.jofti.store;
08:
09: import java.nio.ByteBuffer;
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 obj) throws JoftiException;
23:
24: public LeafNodeEntry convertFromStorage(ByteBuffer buffer)
25: throws JoftiException;
26: }
|