org.archive.wayback.resourcestore.indexer
Class ARCRecordToSearchResultAdapter

java.lang.Object
  extended by org.archive.wayback.resourcestore.indexer.ARCRecordToSearchResultAdapter
All Implemented Interfaces:
Adapter<org.archive.io.arc.ARCRecord,CaptureSearchResult>

public class ARCRecordToSearchResultAdapter
extends java.lang.Object
implements Adapter<org.archive.io.arc.ARCRecord,CaptureSearchResult>

Version:
$Date$, $Revision$
Author:
brad

Constructor Summary
ARCRecordToSearchResultAdapter()
           
 
Method Summary
 CaptureSearchResult adapt(org.archive.io.arc.ARCRecord rec)
          Transform one object into another
 UrlCanonicalizer getCanonicalizer()
           
 void setCanonicalizer(UrlCanonicalizer canonicalizer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARCRecordToSearchResultAdapter

public ARCRecordToSearchResultAdapter()
Method Detail

adapt

public CaptureSearchResult adapt(org.archive.io.arc.ARCRecord rec)
Description copied from interface: Adapter
Transform one object into another

Specified by:
adapt in interface Adapter<org.archive.io.arc.ARCRecord,CaptureSearchResult>
Returns:
new object that is adapted from the old

getCanonicalizer

public UrlCanonicalizer getCanonicalizer()

setCanonicalizer

public void setCanonicalizer(UrlCanonicalizer canonicalizer)


Copyright © 2005-2009 Internet Archive. All Rights Reserved.