Hi,
I encounter a problem with my csv file generation.
I need to have a file with one record per line and have the delimiter at the end.
By default, the delimiter is present between the fields but not at the end.
I tried to add the delimiter as the recordTerminator, but it removes the line separator as well, so I have all the records on 1 line, which is not what I want.
I also can't add the delimiter + System.getProperty("line.separator") as the recordTerminator because it asks for a char type.
I thought about adding a last field at the end with an empty string. It would do the work but it isn't a "clean" way to handle this.
Do you see another solution to this?
Boris