org.archive.wayback.resourceindex.bdb
Class BDBRecordToSearchResultAdapter
java.lang.Object
org.archive.wayback.resourceindex.bdb.BDBRecordToSearchResultAdapter
- All Implemented Interfaces:
- Adapter<BDBRecord,CaptureSearchResult>
public class BDBRecordToSearchResultAdapter
- extends Object
- implements Adapter<BDBRecord,CaptureSearchResult>
Adapter that converts a BDBRecord into a SearchResult
- Version:
- $Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BDBRecordToSearchResultAdapter
public BDBRecordToSearchResultAdapter()
- Constructor
adapt
public CaptureSearchResult adapt(BDBRecord record)
- Description copied from interface:
Adapter
- Transform one object into another
- Specified by:
adapt in interface Adapter<BDBRecord,CaptureSearchResult>
- Parameters:
record -
- Returns:
- SearchResult representation of input BDBRecord
Copyright © 2005-2011 Internet Archive. All Rights Reserved.