|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeedFetcherCache
An interface to allow caching of feed details. Implementing this allows the
org.rometools.fetcher.io.HttpURLFeedFetcher
class to
enable conditional gets
Method Summary | |
---|---|
void |
clear()
Removes all items from the cache. |
SyndFeedInfo |
getFeedInfo(URL feedUrl)
Get a SyndFeedInfo object from the cache. |
SyndFeedInfo |
remove(URL feedUrl)
Removes the SyndFeedInfo identified by the url from the cache. |
void |
setFeedInfo(URL feedUrl,
SyndFeedInfo syndFeedInfo)
Add a SyndFeedInfo object to the cache |
Method Detail |
---|
SyndFeedInfo getFeedInfo(URL feedUrl)
feedUrl
- The url of the feed
void setFeedInfo(URL feedUrl, SyndFeedInfo syndFeedInfo)
feedUrl
- The url of the feedsyndFeedInfo
- A SyndFeedInfo for the feedvoid clear()
SyndFeedInfo remove(URL feedUrl)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |