net.sourceforge.pebble.aggregator
Class NewsFeedCache

java.lang.Object
  extended by net.sourceforge.pebble.aggregator.NewsFeedCache

public class NewsFeedCache
extends java.lang.Object

A cache of newsfeed subscriptions and their entries.

Author:
Simon Brown

Method Summary
 void addSubscription(Blog blog, java.lang.String url)
           
 NewsFeed getFeed(java.lang.String url)
           
static NewsFeedCache getInstance()
           
 java.util.List<NewsFeedEntry> getNewsFeedEntries(Blog blog)
           
 void refreshFeeds()
           
 void removeAllSubscriptions(Blog blog)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static NewsFeedCache getInstance()

addSubscription

public void addSubscription(Blog blog,
                            java.lang.String url)

removeAllSubscriptions

public void removeAllSubscriptions(Blog blog)

refreshFeeds

public void refreshFeeds()

getFeed

public NewsFeed getFeed(java.lang.String url)

getNewsFeedEntries

public java.util.List<NewsFeedEntry> getNewsFeedEntries(Blog blog)


Copyright © 2003-2006, Simon Brown. All Rights Reserved.