org.archive.wayback.resourceindex.cdx
Class SearchResultToCDXFormatAdapter

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

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


Constructor Summary
SearchResultToCDXFormatAdapter(CDXFormat cdx)
           
 
Method Summary
 String adapt(CaptureSearchResult o)
          Transform one object into another
static Iterator<String> adapt(Iterator<CaptureSearchResult> input, CDXFormat cdx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResultToCDXFormatAdapter

public SearchResultToCDXFormatAdapter(CDXFormat cdx)
Method Detail

adapt

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

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

adapt

public static Iterator<String> adapt(Iterator<CaptureSearchResult> input,
                                     CDXFormat cdx)


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