org.archive.wayback.resourceindex.cdx
Class CDXLineToSearchResultAdapter
java.lang.Object
org.archive.wayback.resourceindex.cdx.CDXLineToSearchResultAdapter
- All Implemented Interfaces:
- Adapter<String,CaptureSearchResult>
public class CDXLineToSearchResultAdapter
- extends Object
- implements Adapter<String,CaptureSearchResult>
Adapter that converts a CDX record String into a CaptureSearchResult
- 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 |
CDXLineToSearchResultAdapter
public CDXLineToSearchResultAdapter()
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
doAdapt
public static CaptureSearchResult doAdapt(String line)
- Parameters:
line -
- Returns:
- SearchResult representation of input line
Copyright © 2005-2011 Internet Archive. All Rights Reserved.