I want to convert a PDF file into a CSV file. I am using iText library for this. The program is working fine but the output is not in desired format. All the data is coming
You need to introduce a line break '\n' in the buffer after each table row.
buffer.append("\n");