com.knowgate.syndication.fetcher
Class FeedReader

java.lang.Object
  extended by com.knowgate.syndication.fetcher.FeedReader

public class FeedReader
extends java.lang.Object

Read an RSS feed using disk storage for caching feed info


Constructor Summary
FeedReader(java.lang.String sDiskCachePath)
          Constructor
 
Method Summary
 SyndFeed retrieveFeed(java.lang.String sUrl)
          Read feed from a URL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeedReader

public FeedReader(java.lang.String sDiskCachePath)
Constructor

Parameters:
sDiskCachePath - String Full path to directory where cached feed info will be stored
Method Detail

retrieveFeed

public SyndFeed retrieveFeed(java.lang.String sUrl)
                      throws FeedException,
                             FetcherException,
                             java.io.IOException
Read feed from a URL

Parameters:
sUrl - String Feed source URL
Throws:
java.io.IOException
FeedException
FetcherException