com.sleepycat.bind.tuple
public class StringBinding extends TupleBinding
TupleBinding
for a simple String
value.
There are two ways to use this class:
Method Summary | |
---|---|
Object | entryToObject(TupleInput input) |
static String | entryToString(DatabaseEntry entry)
Converts an entry buffer into a simple String value.
|
protected TupleOutput | getTupleOutput(Object object) |
void | objectToEntry(Object object, TupleOutput output) |
static void | stringToEntry(String val, DatabaseEntry entry)
Converts a simple String value into an entry buffer.
|
String
value.
Parameters: entry is the source entry buffer.
Returns: the resulting value.
String
value into an entry buffer.
Parameters: val is the source value. entry is the destination entry buffer.