net.sf.flock.impl
Class PersistentSubscriptionManager
java.lang.Object
|
+--net.sf.flock.support.AbstractSubscriptionManager
|
+--net.sf.flock.impl.SimpleSubscriptionManager
|
+--net.sf.flock.impl.PersistentSubscriptionManager
- All Implemented Interfaces:
- FeedFactoryI, SubscriptionManagerI
- public class PersistentSubscriptionManager
- extends SimpleSubscriptionManager
- Version:
- $Revision: 1.7 $
- Author:
- $Author: zombi $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentSubscriptionManager
public PersistentSubscriptionManager(java.io.File storeDirectory)
throws FlockResourceException
refresh
protected java.util.List refresh(SubscriptionI subscription)
throws FlockResourceException
- Overrides:
refresh
in class AbstractSubscriptionManager
- Returns:
- List of new ItemI objects
FlockResourceException
- See Also:
AbstractSubscriptionManager.refresh(net.sf.flock.SubscriptionI)
subscribe
public SubscriptionI[] subscribe(SubscriptionInfoI si,
boolean loadFeed)
throws FlockResourceException
- Specified by:
subscribe
in interface SubscriptionManagerI
- Overrides:
subscribe
in class SimpleSubscriptionManager
FlockResourceException
- See Also:
SubscriptionManagerI.subscribe(net.sf.flock.SubscriptionInfoI, boolean)
unsubscribe
public void unsubscribe(java.net.URL url)
throws FlockResourceException
- Description copied from interface:
SubscriptionManagerI
- Remove a subscription.
- Specified by:
unsubscribe
in interface SubscriptionManagerI
- Overrides:
unsubscribe
in class SimpleSubscriptionManager
- Parameters:
url
- subscription location
- Throws:
FlockResourceException
- See Also:
SubscriptionManagerI.unsubscribe(java.net.URL)
initStore
protected void initStore()
throws FlockResourceException
FlockResourceException
saveSubscriptions
protected void saveSubscriptions()
throws FlockResourceException
- Save subscription list as OPML
FlockResourceException
loadSubscription
protected SubscriptionI loadSubscription(java.net.URL location)
throws FlockResourceException
FlockResourceException
storeSubscription
protected void storeSubscription(SubscriptionI subscription)
throws FlockResourceException
FlockResourceException
Copyright © 2002-2003 Presence Inc. All Rights Reserved.