org.archive.wayback.resourceindex.cdx
Class CDXFormatToSearchResultAdapter

java.lang.Object
  extended by org.archive.wayback.resourceindex.cdx.CDXFormatToSearchResultAdapter
All Implemented Interfaces:
Adapter<String,CaptureSearchResult>

public class CDXFormatToSearchResultAdapter
extends Object
implements Adapter<String,CaptureSearchResult>


Constructor Summary
CDXFormatToSearchResultAdapter(CDXFormat cdx)
           
 
Method Summary
 CaptureSearchResult adapt(String line)
          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

CDXFormatToSearchResultAdapter

public CDXFormatToSearchResultAdapter(CDXFormat cdx)
Method Detail

adapt

public CaptureSearchResult adapt(String line)
Description copied from interface: Adapter
Transform one object into another

Specified by:
adapt in interface Adapter<String,CaptureSearchResult>
Returns:
new object that is adapted from the old


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