|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rometools.fetcher.impl.DiskFeedInfoCache
public class DiskFeedInfoCache
Disk based cache.
Field Summary | |
---|---|
protected String |
cachePath
|
Constructor Summary | |
---|---|
DiskFeedInfoCache(String cachePath)
|
Method Summary | |
---|---|
void |
clear()
Clear the cache. |
SyndFeedInfo |
getFeedInfo(URL url)
Get a SyndFeedInfo object from the cache. |
SyndFeedInfo |
remove(URL url)
Removes the SyndFeedInfo identified by the url from the cache. |
static String |
replaceNonAlphanumeric(String str,
char subst)
|
void |
setFeedInfo(URL url,
SyndFeedInfo feedInfo)
Add a SyndFeedInfo object to the cache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String cachePath
Constructor Detail |
---|
public DiskFeedInfoCache(String cachePath)
Method Detail |
---|
public SyndFeedInfo getFeedInfo(URL url)
FeedFetcherCache
getFeedInfo
in interface FeedFetcherCache
url
- The url of the feed
public void setFeedInfo(URL url, SyndFeedInfo feedInfo)
FeedFetcherCache
setFeedInfo
in interface FeedFetcherCache
url
- The url of the feedfeedInfo
- A SyndFeedInfo for the feedpublic static String replaceNonAlphanumeric(String str, char subst)
public void clear()
clear
in interface FeedFetcherCache
public SyndFeedInfo remove(URL url)
FeedFetcherCache
remove
in interface FeedFetcherCache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |