I want to read data from text file in java, but text file doesn't contain any delimiter like space or comma after some text. Some guy told me that its possible via flatpack.
So how can I read text and parse it as delimited and stored them.
Eg of text file data
"Prod Name" "City" "Price" "zipcode" "Date"
samsungA London 65001402110/07/2018
samsungA California 35001202122/08/2018
samsungA Delhi 44001202112/08/2018
I want to store: as:
Name in string
City in string
Price in int
zipcode in int
date as date
Any view on how to achieve this?