com.yahoo.search.xmlparser
Class XmlParserCacheInfo
java.lang.Object
com.yahoo.search.xmlparser.XmlParserCacheInfo
- All Implemented Interfaces:
- CacheInfo
public class XmlParserCacheInfo
- extends Object
- implements CacheInfo
XmlParserCacheInfo
public XmlParserCacheInfo(Map cache)
getUrl
public String getUrl()
- Description copied from interface:
CacheInfo
- The URL of the cached result.
- Specified by:
getUrl in interface CacheInfo
- Returns:
- The URL of the cached result.
getSize
public String getSize()
- Description copied from interface:
CacheInfo
- Size of the cached result, in bytes.
NOTE: The schema for web search indicates this field is a string. Do not assume this data
will be numeric as it is perfectly valid for the search to return non-numeric contents.
- Specified by:
getSize in interface CacheInfo
- Returns:
- Size of the cached result, in bytes.