org.archive.wayback.core
Class SearchResult
java.lang.Object
org.archive.wayback.core.SearchResult
- Direct Known Subclasses:
- CaptureSearchResult, UrlSearchResult
public class SearchResult
- extends Object
- 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 |
RESULT_TRUE_VALUE
public static final String RESULT_TRUE_VALUE
- See Also:
- Constant Field Values
data
protected HashMap<String,String> data
- Expandable Data bag for String to String tuples -- who knows what data
we'll want to put in an Index. Perhaps this should BE a Properties,
instead of HAVEing a Properties.. This way, we could add an extra,
'type' field that would allow discrimination/hinting at what kind
of data might be found in the Properties...
SearchResult
public SearchResult()
get
public String get(String key)
put
public void put(String key,
String value)
getBoolean
public boolean getBoolean(String key)
putBoolean
public void putBoolean(String key,
boolean value)
dateToTS
protected String dateToTS(Date date)
tsToDate
protected Date tsToDate(String timestamp)
toCanonicalStringMap
public Map<String,String> toCanonicalStringMap()
fromCanonicalStringMap
public void fromCanonicalStringMap(Map<String,String> canonical)
Copyright © 2005-2011 Internet Archive. All Rights Reserved.