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 java.lang.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(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
- Specified by:
marshal in interface org.apache.camel.spi.DataFormat
- Throws:
java.lang.Exception
unmarshal
public java.lang.Object unmarshal(org.apache.camel.Exchange exchange,
java.io.InputStream inputStream)
throws java.lang.Exception
- Specified by:
unmarshal in interface org.apache.camel.spi.DataFormat
- Throws:
java.lang.Exception
getFactory
public BindyFixedLengthFactory getFactory(org.apache.camel.spi.PackageScanClassResolver resolver)
throws java.lang.Exception
- Method used to create the singleton of the BindyCsvFactory
- Throws:
java.lang.Exception
setModelFactory
public void setModelFactory(BindyFixedLengthFactory modelFactory)
getPackages
public java.lang.String[] getPackages()
setPackages
public void setPackages(java.lang.String[] packages)
Apache CAMEL