Search in sources :

Example 6 with Calendar

use of net.fortuna.ical4j.model.Calendar in project camel by apache.

the class ICalDataFormat method marshal.

@Override
public void marshal(Exchange exchange, Object graph, OutputStream stream) throws Exception {
    Calendar calendar = exchange.getContext().getTypeConverter().convertTo(Calendar.class, graph);
    outputer.output(calendar, stream);
}
Also used : Calendar(net.fortuna.ical4j.model.Calendar)

Aggregations

Calendar (net.fortuna.ical4j.model.Calendar)6 VEvent (net.fortuna.ical4j.model.component.VEvent)3 GregorianCalendar (java.util.GregorianCalendar)2 DateTime (net.fortuna.ical4j.model.DateTime)2 TimeZone (net.fortuna.ical4j.model.TimeZone)2 TimeZoneRegistry (net.fortuna.ical4j.model.TimeZoneRegistry)2 DtEnd (net.fortuna.ical4j.model.property.DtEnd)2 DtStart (net.fortuna.ical4j.model.property.DtStart)2 ProdId (net.fortuna.ical4j.model.property.ProdId)2 Summary (net.fortuna.ical4j.model.property.Summary)2 Uid (net.fortuna.ical4j.model.property.Uid)2 CalendarRuntime (org.openhab.io.caldav.internal.EventStorage.CalendarRuntime)2 EventContainer (org.openhab.io.caldav.internal.EventStorage.EventContainer)2 Sardine (com.github.sardine.Sardine)1 BufferedReader (java.io.BufferedReader)1 IOException (java.io.IOException)1 InputStreamReader (java.io.InputStreamReader)1 UnsupportedEncodingException (java.io.UnsupportedEncodingException)1 CalendarBuilder (net.fortuna.ical4j.data.CalendarBuilder)1 UnfoldingReader (net.fortuna.ical4j.data.UnfoldingReader)1