com.silverpeas.ical
Class FeedUtilities

java.lang.Object
  extended by com.silverpeas.ical.FeedUtilities

public final class FeedUtilities
extends Object

RSS / ATOM feed utilities. Created: Jan 03, 2007 12:50:56 PM

Author:
Andras Berkes

Method Summary
static net.fortuna.ical4j.model.Calendar convertFeedToCalendar(com.sun.syndication.feed.synd.SyndFeed feed, long eventLength)
           
static byte[] loadFeed(String feedURL)
           
static byte[] loadFeed(String feedURL, String username, String password)
           
static com.sun.syndication.feed.synd.SyndFeed parseFeed(byte[] feedBytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadFeed

public static final byte[] loadFeed(String feedURL)
                             throws Exception
Throws:
Exception

loadFeed

public static final byte[] loadFeed(String feedURL,
                                    String username,
                                    String password)
                             throws Exception
Throws:
Exception

convertFeedToCalendar

public static net.fortuna.ical4j.model.Calendar convertFeedToCalendar(com.sun.syndication.feed.synd.SyndFeed feed,
                                                                      long eventLength)
                                                               throws Exception
Throws:
Exception

parseFeed

public static final com.sun.syndication.feed.synd.SyndFeed parseFeed(byte[] feedBytes)
                                                              throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.