Package com.axelor.data.csv
Class CSVBinder
java.lang.Object
com.axelor.data.csv.CSVBinder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a bean instance with the given set ofvalues
binding to the instance according to the binding rules.<T> T
callSearch
(Map<String, Object> context) String[]
void
registerAdapter
(DataAdapter adapter) void
registerAdapters
(Map<String, DataAdapter> map)
-
Constructor Details
-
CSVBinder
-
CSVBinder
-
-
Method Details
-
registerAdapter
-
registerAdapters
-
getFields
-
callSearch
-
bind
Get a bean instance with the given set ofvalues
binding to the instance according to the binding rules.
The
localContext
is a copy of the global context created withprepare-context
method. ThelocalContext
is updated with the current binding values and is available to thecall
method as context.- Parameters:
values
- values from csv rowlocalContext
- copy of global context, the method updates it with the binding values- Returns:
- a bean instance of the class on which binding is performed
-