public interface BindyFactory
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.apache.camel.CamelContext camelContext,
List<String> data,
Map<String,Object> model,
int line)
The bind allow to read the content of a record (expressed as a
List
|
void |
initModel()
Prior to bind or unbind the data to and from string or model classes, the
factory must create a collection of objects representing the model
|
String |
unbind(org.apache.camel.CamelContext camelContext,
Map<String,Object> model)
The unbind is used to transform the content of the classes model objects
into a string.
|
void initModel()
throws Exception
Exception - can be thrownvoid bind(org.apache.camel.CamelContext camelContext,
List<String> data,
Map<String,Object> model,
int line)
throws Exception
data - Listmodel - Mapline - is the position of the record into the fileException - can be thrownString unbind(org.apache.camel.CamelContext camelContext, Map<String,Object> model) throws Exception
model - MapException - can be thrownApache Camel