|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrss.utilities.RSSUpdater
public class RSSUpdater
Contains static methods used to update Feed objects with new FeedItems from the feed's originating source. Keep in mind that using the RSSUpdater usually implies there is a connection to the Internet.
Constructor Summary | |
---|---|
RSSUpdater()
|
Method Summary | |
---|---|
static void |
update(java.util.Collection<Feed> feeds,
DataSource source)
Calling this method will force the RSSUpdater to update all specified feeds using the given DataSource. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSSUpdater()
Method Detail |
---|
public static void update(java.util.Collection<Feed> feeds, DataSource source) throws UnsupportedRSSFormatException, java.io.IOException
feeds
- Feeds to updatesource
- DataSouce to use for storing updated information
UnsupportedRSSFormatException
- Thrown if the RSS file is unsupported by the parser
java.io.IOException
- Thrown if unable to connect to the Feed URL (usually indicates a bad
URL or no connection to the Internet).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |