public class BindyFixedLengthDataFormat extends BindyAbstractDataFormat
DataFormat) using Bindy to marshal to and from Fixed Length| Modifier and Type | Field and Description |
|---|---|
static String |
CAMEL_BINDY_FIXED_LENGTH_FOOTER |
static String |
CAMEL_BINDY_FIXED_LENGTH_HEADER |
| Constructor and Description |
|---|
BindyFixedLengthDataFormat() |
BindyFixedLengthDataFormat(Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
createModel(BindyFixedLengthFactory factory,
String line,
int count) |
protected BindyAbstractFactory |
createModelFactory(FormatFactory formatFactory) |
String |
getDataFormatName() |
void |
marshal(org.apache.camel.Exchange exchange,
Object body,
OutputStream outputStream) |
Object |
unmarshal(org.apache.camel.Exchange exchange,
InputStream inputStream) |
createLinkedFieldsModel, createLinkedFieldsModel, doStart, doStop, extractUnmarshalResult, getCamelContext, getClassType, getFactory, getLocale, setCamelContext, setClassType, setLocale, setModelFactorypublic static final String CAMEL_BINDY_FIXED_LENGTH_HEADER
public static final String CAMEL_BINDY_FIXED_LENGTH_FOOTER
public BindyFixedLengthDataFormat()
public BindyFixedLengthDataFormat(Class<?> type)
public String getDataFormatName()
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 Map<String,Object> createModel(BindyFixedLengthFactory factory, String line, int count) throws Exception
Exceptionprotected BindyAbstractFactory createModelFactory(FormatFactory formatFactory) throws Exception
createModelFactory in class BindyAbstractDataFormatExceptionApache Camel