Make it clear in the doc if the same cell processors can be used both for...
A fast, programmer-friendly, free CSV library for Java
Brought to you by:
jamesbassett,
kbg
Also, make it clear a cell processor is often not needed when writing. It is more often needed when reading.
To answer your first question - if you're asking can you reuse the same instances then yes. Just be careful if the processor is stateful (i.e.
CollectorandUnique).As to your second question, I think the documentation is pretty clear on which processors are for reading/writing or both: http://supercsv.sourceforge.net/cell_processors.html#Available_cell_processors
I saw some were for reading and others more for writing. Although I did not know if it was mandatory or more up to the user. I also didn't know when to use which. All in all, I was missing an introductory paragraph hinting at the possible use cases.
In the end I assumed I did not need any processor for my writing needs and so skipped using them. I only used them when reading. And it then worked fine.