org.apache.camel.component.ical
Class ICalDataFormat

java.lang.Object
  extended by org.apache.camel.component.ical.ICalDataFormat
All Implemented Interfaces:
org.apache.camel.spi.DataFormat

public class ICalDataFormat
extends Object
implements org.apache.camel.spi.DataFormat

Bridge ICal data format to camel world.


Constructor Summary
ICalDataFormat()
           
 
Method Summary
 net.fortuna.ical4j.data.CalendarBuilder getBuilder()
           
 net.fortuna.ical4j.data.CalendarOutputter getOutputer()
           
 boolean isValidating()
           
 void marshal(org.apache.camel.Exchange exchange, Object graph, OutputStream stream)
           
 void setBuilder(net.fortuna.ical4j.data.CalendarBuilder builder)
           
 void setOutputer(net.fortuna.ical4j.data.CalendarOutputter outputer)
           
 void setValidating(boolean validate)
           
 Object unmarshal(org.apache.camel.Exchange exchange, InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICalDataFormat

public ICalDataFormat()
Method Detail

setValidating

public void setValidating(boolean validate)

isValidating

public boolean isValidating()

getOutputer

public net.fortuna.ical4j.data.CalendarOutputter getOutputer()

setOutputer

public void setOutputer(net.fortuna.ical4j.data.CalendarOutputter outputer)

getBuilder

public net.fortuna.ical4j.data.CalendarBuilder getBuilder()

setBuilder

public void setBuilder(net.fortuna.ical4j.data.CalendarBuilder builder)

marshal

public void marshal(org.apache.camel.Exchange exchange,
                    Object graph,
                    OutputStream stream)
             throws Exception
Specified by:
marshal in interface org.apache.camel.spi.DataFormat
Throws:
Exception

unmarshal

public Object unmarshal(org.apache.camel.Exchange exchange,
                        InputStream stream)
                 throws Exception
Specified by:
unmarshal in interface org.apache.camel.spi.DataFormat
Throws:
Exception


Apache Camel