I have a text file that has a repeated pattern after line 14, which does not have a fixed length.
The pattern is as follows:
'
String
String
Int
The apostrophe is used to separate each chunk of data, which I am trying to save into a Hashmap for each type (e.g one hashmap for the first line of each block, etc)
What is the best was to check if there is a block of text (is the apostrophe the best?) and then save the next three lines and continue?