@sconway thank you for an explanation. It's a pitty. It looks like a very basic feature. And moreover reader is more flexible here.... Best regards, Dmitrii
@sconway thank you for the reply! What i want to achieve is to always have quotes, because 1) i have lots of fields which can contain separator (comma, in my case) and 2) i can't use escape character because of some between-team communication issues (everybody needs to agree about separator symbol - which is quite difficult in our current environment). But while having quotes, i want to be able to distinguish null values from empty string. And the only way for this when exporting to csv file i can...
Null values are written with quotes when writing bean to a file, although CSVReaderNullFieldIndicator.EMPTY_SEPARATORS is set