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