Get All Keys and Values of the Properties files in,
August 5, 2008 at 1:05 PM
I read your example code here. Thanks for this.
What if we have duplicate values in the property file, e.g.
name = rahul name = jeet age = 10 code = 30
here the name is duplicate, if i use your sample code I only can get the following:
name = jeet age = 10 code = 30
Which does not give all the property values. Could you please suggest a way so i can retrieve the duplicate fields from the property file as well. My property file contain lots of duplicate elements and i want to read all.