|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectyarfraw.utils.reader.FeedReaderUtils
public class FeedReaderUtils
| Method Summary | |
|---|---|
static ChannelFeed |
read(FeedFormat format,
File file)
Read a Rss feed in to a ChannelFeed data object. |
static List<ChannelFeed> |
readAll(ExecutorService executorService,
org.apache.commons.httpclient.HttpURL... urls)
Static method for reading feed(s) remotely. |
static List<ChannelFeed> |
readAll(FeedFormat format,
File... files)
Read all Rss feed and return them in a list that is in the same order. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static List<ChannelFeed> readAll(ExecutorService executorService,
org.apache.commons.httpclient.HttpURL... urls)
throws YarfrawException
files - - Files pointing to Rss feed files.executorService - - @see ExecutorServiceurls - - @see HttpURL
ChannelFeed
YarfrawException - - If there is a failure reading any of the feeds.
public static List<ChannelFeed> readAll(FeedFormat format,
File... files)
throws YarfrawException
files - - Files pointing to Rss feed files.format - - FeedFormat
ChannelFeed
YarfrawException - - If there is a failure reading any of the feeds.
public static ChannelFeed read(FeedFormat format,
File file)
throws YarfrawException
ChannelFeed data object.
file - - File pointing to a Rss feed file.format - - FeedFormat
ChannelFeed data object representation of the feed.
YarfrawException - - If there is a failure reading the feeds.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||