org.archive.wayback.resourceindex.cdx
Class SearchResultToCDXLineAdapter
java.lang.Object
org.archive.wayback.resourceindex.cdx.SearchResultToCDXLineAdapter
- All Implemented Interfaces:
- Adapter<CaptureSearchResult,String>
public class SearchResultToCDXLineAdapter
- extends Object
- implements Adapter<CaptureSearchResult,String>
- Version:
- $Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchResultToCDXLineAdapter
public SearchResultToCDXLineAdapter()
isOutputRobot
public boolean isOutputRobot()
setIsOutputRobot
public void setIsOutputRobot(boolean isOutputRobot)
adapt
public String adapt(CaptureSearchResult result)
- 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)
adapt
public static Iterator<String> adapt(Iterator<CaptureSearchResult> input,
boolean isOutputRobot)
Copyright © 2005-2011 Internet Archive. All Rights Reserved.