com.silverpeas.export.ical.ical4j
Class ICal4JRecurrenceCodec

java.lang.Object
  extended by com.silverpeas.export.ical.ical4j.ICal4JRecurrenceCodec

public class ICal4JRecurrenceCodec
extends Object

A codec to encode/decode iCal4J recurrence with Silverpeas event recurrence.


Constructor Summary
ICal4JRecurrenceCodec()
           
 
Method Summary
static ICal4JRecurrenceCodec anICal4JRecurrenceCodec()
          Gets an instance of the ICal4JDateCodec class.
 net.fortuna.ical4j.model.Recur encode(CalendarEventRecurrence eventRecurrence)
          Encodes the specified Silverpeas event recurrence into an iCal4J recurrence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICal4JRecurrenceCodec

public ICal4JRecurrenceCodec()
Method Detail

anICal4JRecurrenceCodec

public static ICal4JRecurrenceCodec anICal4JRecurrenceCodec()
Gets an instance of the ICal4JDateCodec class.

Returns:
an ICal4JDateCodec instance.

encode

public net.fortuna.ical4j.model.Recur encode(CalendarEventRecurrence eventRecurrence)
                                      throws EncodingException
Encodes the specified Silverpeas event recurrence into an iCal4J recurrence.

Parameters:
eventRecurrence - the specified event recurrence to encode.
Returns:
the encoded iCal4J recurrence.
Throws:
EncodingException - if the encoding fails.


Copyright © 2016 Silverpeas. All Rights Reserved.