org.apache.camel.dataformat.bindy.kvp
Class BindyKeyValuePairDataFormat
java.lang.Object
org.apache.camel.dataformat.bindy.BindyAbstractDataFormat
org.apache.camel.dataformat.bindy.kvp.BindyKeyValuePairDataFormat
- All Implemented Interfaces:
- org.apache.camel.spi.DataFormat
public class BindyKeyValuePairDataFormat
- extends BindyAbstractDataFormat
A data format (
DataFormat) using Bindy to marshal to and from CSV files
|
Method Summary |
protected BindyAbstractFactory |
createModelFactory(org.apache.camel.spi.PackageScanClassResolver resolver)
|
void |
marshal(org.apache.camel.Exchange exchange,
java.lang.Object body,
java.io.OutputStream outputStream)
|
java.lang.Object |
unmarshal(org.apache.camel.Exchange exchange,
java.io.InputStream inputStream)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindyKeyValuePairDataFormat
public BindyKeyValuePairDataFormat()
BindyKeyValuePairDataFormat
public BindyKeyValuePairDataFormat(java.lang.String... packages)
marshal
public void marshal(org.apache.camel.Exchange exchange,
java.lang.Object body,
java.io.OutputStream outputStream)
throws java.lang.Exception
- Throws:
java.lang.Exception
unmarshal
public java.lang.Object unmarshal(org.apache.camel.Exchange exchange,
java.io.InputStream inputStream)
throws java.lang.Exception
- Throws:
java.lang.Exception
createModelFactory
protected BindyAbstractFactory createModelFactory(org.apache.camel.spi.PackageScanClassResolver resolver)
throws java.lang.Exception
- Specified by:
createModelFactory in class BindyAbstractDataFormat
- Throws:
java.lang.Exception
Apache CAMEL