|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object yarfraw.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
- - File
s pointing to Rss feed files.executorService
- - @see ExecutorService
urls
- - @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
- - File
s 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 |