org.jasig.portlet.calendar.processor
Class RssContentProcessorImpl
java.lang.Object
org.jasig.portlet.calendar.processor.RssContentProcessorImpl
- All Implemented Interfaces:
- IContentProcessor<com.sun.syndication.feed.synd.SyndFeed>
public class RssContentProcessorImpl
- extends Object
- implements IContentProcessor<com.sun.syndication.feed.synd.SyndFeed>
This IContentProcessor implementation uses Rome to extract
CalendarEvents from RSS formatted streams.
- Version:
- $Header: RssContentProcessorImpl.java Exp $
- Author:
- Nicholas Blair, nblair@doit.wisc.edu
|
Field Summary |
protected org.apache.commons.logging.Log |
log
|
|
Method Summary |
Set<net.fortuna.ical4j.model.component.VEvent> |
getEvents(org.joda.time.Interval interval,
com.sun.syndication.feed.synd.SyndFeed feed)
Implementations should not return null (at a minimum return
Collections.emptySet()). |
com.sun.syndication.feed.synd.SyndFeed |
getIntermediateCalendar(org.joda.time.Interval interval,
InputStream in)
Implementations should not return null (at a minimum return
Collections.emptySet()). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
RssContentProcessorImpl
public RssContentProcessorImpl()
getIntermediateCalendar
public com.sun.syndication.feed.synd.SyndFeed getIntermediateCalendar(org.joda.time.Interval interval,
InputStream in)
- Description copied from interface:
IContentProcessor
- Implementations should not return null (at a minimum return
Collections.emptySet()).
- Specified by:
getIntermediateCalendar in interface IContentProcessor<com.sun.syndication.feed.synd.SyndFeed>
- Returns:
getEvents
public Set<net.fortuna.ical4j.model.component.VEvent> getEvents(org.joda.time.Interval interval,
com.sun.syndication.feed.synd.SyndFeed feed)
- Description copied from interface:
IContentProcessor
- Implementations should not return null (at a minimum return
Collections.emptySet()).
- Specified by:
getEvents in interface IContentProcessor<com.sun.syndication.feed.synd.SyndFeed>
- Returns:
Copyright © 2012 Jasig. All Rights Reserved.