com.johnmunsch.rss
Interface ChannelStore
- All Known Implementing Classes:
- ListChannelStore
- public interface ChannelStore
An interface that defines the characteristics that all channel stores need
to have. They may be implemented using serialization, JDBC, or something
completely different but they need all of these methods so they can all be
treated uniformly.
A later version of the channel store may do away with functions like add,
remove, etc. and simply require that all inheritors implement the functions
of the AbstractList interface. That is a superset of what is available here.
- Author:
- johnm
add
public boolean add(Channel channel)
add
public boolean add(java.util.Collection collection)
remove
public boolean remove(Channel channel)
remove
public boolean remove(java.util.Collection collection)
clear
public void clear()
iterator
public java.util.Iterator iterator()
size
public int size()
retrieve
public java.util.List retrieve(boolean updateChannels)
addChannelStoreListener
public void addChannelStoreListener(ChannelStoreListener l)
removeChannelStoreListener
public void removeChannelStoreListener(ChannelStoreListener l)
load
public void load(java.io.File f)
store
public void store(java.io.File f)