git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

csv data format with ordered maps


Hello,

I need a CSV record mapper which would use maps, but ordered ones,
because I need the name of the first header field. Current
implementation creates HashMaps, where the original order is lost.

I tried to implement my own CsvRecordConverter to produce ordered map,
but the interface is not public. This is not expected,
CsvDataFormat.setRecordConverter has a public setter accepting this
interface.

Any workarounds?

Den