-
Hi.
and it should of course look like this
The CsvWriter instance is configured like this
And the code producing the csv looks like this:
The Product class and its Map looks like this:
It's probably just something "silly" I've forgotten but I can't figure out what so any help would be more than welcome. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
WriteHeader
doesn't add a newline. You need to callNextRecord
for that to happen. Based on your example, you don't need to callWriteHeader
at all.WriteRecords
will do that for you.