I'm trying to use the opencsv library to write a csv file. The restriction being that I do not want to create a file on the disk or even a temp file. Is there a way I can achieve it?
From what I looked, the constructor for CSVWriter requires a FileWriter object.
Thanks!
Actually the constructor needs a Writer
and you could provide a StringWriter
to create a String.