I need to parse a CSV file that has this header:
Company;Registered office;Notifying party;Domicile or Registered office;Holdings of voting rights;;;;;;Publication ;;;;directly held;;additionally counted;;total;;in Germany;;in foreign countries ;;;;percentage;single rights;percentage;single rights;percentage;single rights;Official stock exchange
I was wondering if this is the standard heading format because I expected all the fields to be listed one after the other, for example (in the first line) "Holdings of voting rights - percentage, holding of voting rights - directly held - separate rights", and I see that the information spreads over three lines.
My file currently has 6 header lines (three are shown and the other three are in a different language) , how can I detect if they add a few more header lines a day ? The file continues with the next line (first data) and so on. The first line of real data is not always the same.
BBS Kraftfahrzeugtechnik AG;Schiltach;Baumgartner, Heinrich;Deutschland;62,5;;37,5;;100,0;;Börsenzeitung;04.04.2002
I am also looking for Java libraries that can parse CSV files .
source share