org.apache.camel.dataformat.bindy.fixed
Class BindyFixedLengthDataFormat
java.lang.Object
org.apache.camel.dataformat.bindy.fixed.BindyFixedLengthDataFormat
- All Implemented Interfaces:
- org.apache.camel.spi.DataFormat
public class BindyFixedLengthDataFormat
- extends Object
- implements org.apache.camel.spi.DataFormat
A data format (
DataFormat
) using Bindy to marshal to and from Fixed Length
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindyFixedLengthDataFormat
public BindyFixedLengthDataFormat()
BindyFixedLengthDataFormat
public BindyFixedLengthDataFormat(String... packages)
marshal
public void marshal(org.apache.camel.Exchange exchange,
Object body,
OutputStream outputStream)
throws Exception
- Specified by:
marshal
in interface org.apache.camel.spi.DataFormat
- Throws:
Exception
unmarshal
public Object unmarshal(org.apache.camel.Exchange exchange,
InputStream inputStream)
throws Exception
- Specified by:
unmarshal
in interface org.apache.camel.spi.DataFormat
- Throws:
Exception
getFactory
public BindyFixedLengthFactory getFactory(org.apache.camel.spi.PackageScanClassResolver resolver)
throws Exception
- Method used to create the singleton of the BindyCsvFactory
- Throws:
Exception
setModelFactory
public void setModelFactory(BindyFixedLengthFactory modelFactory)
getPackages
public String[] getPackages()
setPackages
public void setPackages(String[] packages)
Apache CAMEL