I need to parse a CSV file which 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 whether this is a standard header format, because I expected to have all the fields listed one after another, like (in the first row) "Holdings of voting rights-directly held-percentage;Holdings of voting rights-directly held-single rights", while I see that information spread over three lines.
Currently my file has 6 lines of header (the three shown and other three in another language), how can I detect, if a day they'll add some more header lines?? The file continues with the following line (the first data) and so on. The first line of real data isn't always the same
BBS Kraftfahrzeugtechnik AG;Schiltach;Baumgartner, Heinrich;Deutschland;62,5;;37,5;;100,0;;Börsenzeitung;04.04.2002
I'm also looking for java libraries which are able to parse CSV files.