Description
I added a feature, the possibility to use "ignorecase" access in HeaderMapping.
The change is basically the use of an instance of TreeMap + String.CASE_INSENSITIVE_ORDER comparator, when filling headerMap :
new TreeMap<String, Integer>(String.CASE_INSENSITIVE_ORDER)
this based on a new flag in CSVFormat class, that handles this optional format.
The feature was originally issued by this SO Question [ 1 ], plus the encouragement made in my response to contribute or propose the change.
Here is the link to PR proposal for review:
https://github.com/apache/commons-csv/pull/9
SO question:
[ 1 ] http://stackoverflow.com/q/29911366/2619091