It is not possible to add a file to opencsv (from the initial look it looks pretty simple), but if you are not limited to opencsv, you can try JExcel . To add to a file in JExcel , you essentially need to create a copy, then work it out and overwrite the original. This may be similar in OpenCSV.
Edit: It seems your only real option is to try JExcel or read the entire file in the list, add to it and write it. If it is too heavy in memory, keep the stream open, read in pieces, write out pieces, and then write out your added piece.
dekz
source share