org.jasig.portlet.calendar.processor
Class ICalendarContentProcessorImpl
java.lang.Object
org.jasig.portlet.calendar.processor.ICalendarContentProcessorImpl
- All Implemented Interfaces:
- IContentProcessor
- Direct Known Subclasses:
- XSLTICalendarContentProcessorImpl
public class ICalendarContentProcessorImpl
- extends Object
- implements IContentProcessor
Implementation of IContentProcessor that uses iCal4j to process
iCalendar-formatted data streams.
- Version:
- $Header: ICalendarContentProcessorImpl.java Exp $
- Author:
- Nicholas Blair, nblair@doit.wisc.edu
|
Field Summary |
protected org.apache.commons.logging.Log |
log
|
| 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
ICalendarContentProcessorImpl
public ICalendarContentProcessorImpl()
getEvents
public Set<CalendarEvent> getEvents(Long calendarId,
net.fortuna.ical4j.model.Period period,
InputStream in)
- Description copied from interface:
IContentProcessor
- Implementations should not return null (at a minimum return
Collections.emptySet()).
- Specified by:
getEvents in interface IContentProcessor
- Returns:
convertCalendarToEvents
protected final Set<CalendarEvent> convertCalendarToEvents(Long calendarId,
net.fortuna.ical4j.model.Calendar calendar,
net.fortuna.ical4j.model.Period period)
throws CalendarException
- Parameters:
calendarId - calendar - period -
- Returns:
-
- Throws:
CalendarException
Copyright © 2010 Jasig. All Rights Reserved.