com.atlassian.confluence.it.feed
Class FeedRetriever

java.lang.Object
  extended by com.atlassian.confluence.it.feed.FeedRetriever

public class FeedRetriever
extends java.lang.Object

Downloads a feed over HTTP. Returns Feed objects using the Rome API.

See Also:
FeedBuilder

Method Summary
 java.util.List<com.sun.syndication.feed.synd.SyndEntry> getEntries(java.net.URL feedUrl, User user)
           
 com.sun.syndication.feed.synd.SyndFeed getFeed(java.net.URL feedUrl, User user)
           
static FeedRetriever getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static FeedRetriever getInstance()

getEntries

public java.util.List<com.sun.syndication.feed.synd.SyndEntry> getEntries(java.net.URL feedUrl,
                                                                          User user)
                                                                   throws java.io.IOException,
                                                                          com.sun.syndication.io.FeedException
Throws:
java.io.IOException
com.sun.syndication.io.FeedException

getFeed

public com.sun.syndication.feed.synd.SyndFeed getFeed(java.net.URL feedUrl,
                                                      User user)
                                               throws com.sun.syndication.io.FeedException,
                                                      java.io.IOException
Throws:
com.sun.syndication.io.FeedException
java.io.IOException


Copyright © 2003-2010 Atlassian. All Rights Reserved.