public interface BindyFactory
Modifier and Type | Method and Description |
---|---|
void |
bind(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(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(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(Map<String,Object> model) throws Exception
model
- MapException
- can be thrownApache Camel