public class BindyCsvDataFormat extends BindyAbstractDataFormat
DataFormat) using Bindy to marshal to and from CSV files| Constructor and Description |
|---|
BindyCsvDataFormat() |
BindyCsvDataFormat(Class<?> type) |
BindyCsvDataFormat(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 BindyCsvDataFormat()
public BindyCsvDataFormat(String... packages)
public BindyCsvDataFormat(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