| java.lang.Object com.sun.portal.rssportlet.FeedHelper
FeedHelper | public class FeedHelper (Code) | | This class manages a cache of ROME feeds.
|
Method Summary | |
public SyndFeed | getFeed(SettingsBean bean, String selectedFeed) Get the ROME SyndFeed object for the specified feed. | public SyndFeed | getFeed(SettingsBean bean) Get the ROME SyndFeed object for the feed specified by the
SettingsBean's selectedFeed field. | public static FeedHelper | getInstance() Get the feed handler singleton instance. |
getFeed | public SyndFeed getFeed(SettingsBean bean, String selectedFeed) throws IOException, FeedException(Code) | | Get the ROME SyndFeed object for the specified feed. The object may come
from a cache; the data in the feed may not be read at the time
this method is called.
The RssPortletBean object is used to identify the feed
of interest, and the timeout value to be used when managing this
feed's cached value.
Parameters: bean - an RssPortletBean object that describesthe feed of interest, and the cache timeout value for the feed. a ROME SyndFeed object encapsulating thefeed specified by the URL. |
getFeed | public SyndFeed getFeed(SettingsBean bean) throws IOException, FeedException(Code) | | Get the ROME SyndFeed object for the feed specified by the
SettingsBean's selectedFeed field.
|
getInstance | public static FeedHelper getInstance()(Code) | | Get the feed handler singleton instance.
|
|
|