|
Berkeley DB version 5.3.15 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sleepycat.bind.ByteArrayBinding
public class ByteArrayBinding
A pass-through EntryBinding that uses the entry's byte array as
the key or data object.
| Constructor Summary | |
|---|---|
ByteArrayBinding()
Creates a byte array binding. |
|
| Method Summary | |
|---|---|
byte[] |
entryToObject(DatabaseEntry entry)
Converts a entry buffer into an Object. |
void |
objectToEntry(byte[] object,
DatabaseEntry entry)
Converts an Object into a entry buffer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteArrayBinding()
| Method Detail |
|---|
public byte[] entryToObject(DatabaseEntry entry)
EntryBinding
entryToObject in interface EntryBinding<byte[]>entry - is the source entry buffer.
public void objectToEntry(byte[] object,
DatabaseEntry entry)
EntryBinding
objectToEntry in interface EntryBinding<byte[]>object - is the source Object.entry - is the destination entry buffer.
|
Berkeley DB version 5.3.15 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||