Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

TupleInputBinding.java

00001 /*-
00002  * See the file LICENSE for redistribution information.
00003  *
00004  * Copyright (c) 2000-2005
00005  *      Sleepycat Software.  All rights reserved.
00006  *
00007  * $Id: TupleInputBinding.java,v 12.1 2005/01/31 19:27:32 mark Exp $
00008  */
00009 
00010 package com.sleepycat.bind.tuple;
00011 
00012 import com.sleepycat.bind.EntryBinding;
00013 import com.sleepycat.db.DatabaseEntry;
00014 
00027 public class TupleInputBinding implements EntryBinding {
00028 
00032     public TupleInputBinding() {
00033     }
00034 
00035     // javadoc is inherited
00036     public Object entryToObject(DatabaseEntry entry) {
00037 
00038         return TupleBinding.entryToInput(entry);
00039     }
00040 
00041     // javadoc is inherited
00042     public void objectToEntry(Object object, DatabaseEntry entry) {
00043 
00044         TupleBinding.inputToEntry((TupleInput) object, entry);
00045     }
00046 }

Generated on Sun Dec 25 12:14:30 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2