public class BindyKeyValuePairDataFormat extends BindyAbstractDataFormat
DataFormat) using Bindy to marshal to and from CSV files| Constructor and Description |
|---|
BindyKeyValuePairDataFormat() |
BindyKeyValuePairDataFormat(Class<?> type) |
BindyKeyValuePairDataFormat(String... packages) |
| Modifier and Type | Method and Description |
|---|---|
protected BindyAbstractFactory |
createModelFactory(org.apache.camel.spi.PackageScanClassResolver resolver) |
void |
marshal(org.apache.camel.Exchange exchange,
Object body,
OutputStream outputStream) |
Object |
unmarshal(org.apache.camel.Exchange exchange,
InputStream inputStream) |
extractUnmarshalResult, getClassType, getFactory, getLocale, getPackages, setClassType, setLocale, setModelFactory, setPackagespublic BindyKeyValuePairDataFormat()
public BindyKeyValuePairDataFormat(String... packages)
public BindyKeyValuePairDataFormat(Class<?> type)
public void marshal(org.apache.camel.Exchange exchange,
Object body,
OutputStream outputStream)
throws Exception
Exceptionpublic Object unmarshal(org.apache.camel.Exchange exchange, InputStream inputStream) throws Exception
Exceptionprotected BindyAbstractFactory createModelFactory(org.apache.camel.spi.PackageScanClassResolver resolver) throws Exception
createModelFactory in class BindyAbstractDataFormatExceptionApache Camel