org.archive.wayback.resourceindex.bdb
Class BDBRecordToSearchResultAdapter

java.lang.Object
  extended by 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

Constructor Summary
BDBRecordToSearchResultAdapter()
          Constructor
 
Method Summary
 CaptureSearchResult adapt(BDBRecord record)
          Transform one object into another
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BDBRecordToSearchResultAdapter

public BDBRecordToSearchResultAdapter()
Constructor

Method Detail

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.