@Deprecated public interface FeedFetcherCache
An interface to allow caching of feed details. Implementing this allows the
com.rometools.fetcher.io.HttpURLFeedFetcher
class to enable conditional gets
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
Removes all items from the cache.
|
SyndFeedInfo |
getFeedInfo(URL feedUrl)
Deprecated.
Get a SyndFeedInfo object from the cache.
|
SyndFeedInfo |
remove(URL feedUrl)
Deprecated.
Removes the SyndFeedInfo identified by the url from the cache.
|
void |
setFeedInfo(URL feedUrl,
SyndFeedInfo syndFeedInfo)
Deprecated.
Add a SyndFeedInfo object to the cache
|
SyndFeedInfo getFeedInfo(URL feedUrl)
feedUrl
- The url of the feedvoid setFeedInfo(URL feedUrl, SyndFeedInfo syndFeedInfo)
feedUrl
- The url of the feedsyndFeedInfo
- A SyndFeedInfo for the feedvoid clear()
SyndFeedInfo remove(URL feedUrl)
Copyright © 2017. All rights reserved.