org.archive.wayback.resourceindex.cdx
Class SearchResultToCDXFormatAdapter
java.lang.Object
org.archive.wayback.resourceindex.cdx.SearchResultToCDXFormatAdapter
- All Implemented Interfaces:
- Adapter<CaptureSearchResult,String>
public class SearchResultToCDXFormatAdapter
- extends Object
- implements Adapter<CaptureSearchResult,String>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchResultToCDXFormatAdapter
public SearchResultToCDXFormatAdapter(CDXFormat cdx)
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.