public class BindyFixedLengthDataFormat extends BindyAbstractDataFormat
DataFormat
) using Bindy to marshal to and from Fixed LengthModifier 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() |
String |
getDataFormatName() |
void |
marshal(org.apache.camel.Exchange exchange,
Object body,
OutputStream outputStream) |
Object |
unmarshal(org.apache.camel.Exchange exchange,
InputStream inputStream) |
doStart, doStop, extractUnmarshalResult, getClassType, getFactory, getLocale, setClassType, setLocale, setModelFactory
public 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
Exception
public Object unmarshal(org.apache.camel.Exchange exchange, InputStream inputStream) throws Exception
Exception
protected Map<String,Object> createModel(BindyFixedLengthFactory factory, String line, int count) throws Exception
Exception
protected BindyAbstractFactory createModelFactory() throws Exception
createModelFactory
in class BindyAbstractDataFormat
Exception
Apache Camel