|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BindyFactory
The bindy factory is a factory used to create the POJO models and bind or unbind the data to and from the record (CSV, ...)
| Method Summary | |
|---|---|
void |
bind(java.util.List<java.lang.String> data,
java.util.Map<java.lang.String,java.lang.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 |
java.lang.String |
unbind(java.util.Map<java.lang.String,java.lang.Object> model)
The unbind is used to transform the content of the classes model objects into a string. |
| Method Detail |
|---|
void initModel()
throws java.lang.Exception
java.lang.Exception - can be thrown
void bind(java.util.List<java.lang.String> data,
java.util.Map<java.lang.String,java.lang.Object> model,
int line)
throws java.lang.Exception
data - Listmodel - Mapline - is the position of the record into the file
java.lang.Exception - can be thrown
java.lang.String unbind(java.util.Map<java.lang.String,java.lang.Object> model)
throws java.lang.Exception
model - Mapjava.lang.Exception - can be thrown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||