An interface to allow caching of feed details. Implementing this allows the - * {@link com.sun.syndication.fetcher.io.HttpURLFeedFetcher} class to + * {@link org.rometools.fetcher.io.HttpURLFeedFetcher} class to * enable conditional gets
* * @author Nick Lothian diff --git a/src/java/org/rometools/fetcher/impl/HashMapFeedInfoCache.java b/src/java/org/rometools/fetcher/impl/HashMapFeedInfoCache.java index 1d8f93f..5f60825 100644 --- a/src/java/org/rometools/fetcher/impl/HashMapFeedInfoCache.java +++ b/src/java/org/rometools/fetcher/impl/HashMapFeedInfoCache.java @@ -24,7 +24,7 @@ import java.util.Map; /** - *A very simple implementation of the {@link com.sun.syndication.fetcher.impl.FeedFetcherCache} interface.
+ *A very simple implementation of the {@link org.rometools.fetcher.impl.FeedFetcherCache} interface.
* *This implementation uses a HashMap to cache retrieved feeds. This implementation is * most suitible for sort term (client aggregator?) use, as the memory usage will increase diff --git a/src/java/org/rometools/fetcher/impl/HttpClientFeedFetcher.java b/src/java/org/rometools/fetcher/impl/HttpClientFeedFetcher.java index e47003c..4d3b8bd 100644 --- a/src/java/org/rometools/fetcher/impl/HttpClientFeedFetcher.java +++ b/src/java/org/rometools/fetcher/impl/HttpClientFeedFetcher.java @@ -17,8 +17,6 @@ package org.rometools.fetcher.impl; import com.sun.syndication.feed.synd.SyndFeed; -import org.rometools.fetcher.FetcherEvent; -import org.rometools.fetcher.FetcherException; import com.sun.syndication.io.FeedException; import com.sun.syndication.io.SyndFeedInput; import com.sun.syndication.io.XmlReader; @@ -31,6 +29,9 @@ import org.apache.commons.httpclient.HttpMethod; import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.params.HttpClientParams; +import org.rometools.fetcher.FetcherEvent; +import org.rometools.fetcher.FetcherException; + import java.io.IOException; import java.io.InputStream; @@ -145,7 +146,7 @@ public class HttpClientFeedFetcher extends AbstractFeedFetcher { } /** - * @param timeout Sets the read timeout for the URLConnection to a specified timeout, in milliseconds. + * @return timeout the read timeout for the URLConnection to a specified timeout, in milliseconds. */ public int getReadTimeout() { return (int) this.getHttpClientParams() @@ -157,7 +158,7 @@ public class HttpClientFeedFetcher extends AbstractFeedFetcher { } /** - * @see com.sun.syndication.fetcher.FeedFetcher#retrieveFeed(java.net.URL) + * @see org.rometools.fetcher.FeedFetcher#retrieveFeed(java.net.URL) */ public SyndFeed retrieveFeed(String userAgent, URL feedUrl) throws IllegalArgumentException, IOException, FeedException, FetcherException { diff --git a/src/java/org/rometools/fetcher/impl/HttpURLFeedFetcher.java b/src/java/org/rometools/fetcher/impl/HttpURLFeedFetcher.java index 67981b1..6a9026d 100644 --- a/src/java/org/rometools/fetcher/impl/HttpURLFeedFetcher.java +++ b/src/java/org/rometools/fetcher/impl/HttpURLFeedFetcher.java @@ -34,7 +34,7 @@ import com.sun.syndication.io.XmlReader; /** *
Class to retrieve syndication files via HTTP.
* - *If passed a {@link com.sun.syndication.fetcher.impl.FeedFetcherCache} in the + *
If passed a {@link org.rometools.fetcher.impl.FeedFetcherCache} in the * constructor it will use conditional gets to only retrieve modified content.
* *The class uses the Accept-Encoding: gzip header to retrieve gzipped feeds where diff --git a/src/java/org/rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java b/src/java/org/rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java index c1eab76..82abf6b 100644 --- a/src/java/org/rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java +++ b/src/java/org/rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java @@ -5,7 +5,7 @@ import java.util.LinkedHashMap; import java.util.Map; /** - *
An implementation of the {@link com.sun.syndication.fetcher.impl.FeedFetcherCache} interface.
+ *An implementation of the {@link org.rometools.fetcher.impl.FeedFetcherCache} interface.
* *Unlike the HashMapFeedInfoCache this implementation will not grow unbound
*