title: How to create hash map with entries from .properties file
body: <p>I want to create a Hash Map with the entries from .properties file. 
  My property file looks like: </p>
  
  <pre><code>##AA
  key1 = A1
  key2 = A2
  key3 = A3
  ##BB
  key1 = B1
  key2 = B2
  key3 = B3
  ##CC
  key1 = C1
  key2 = C2
  key3 = C3, C4
  ##DD
  key1 = D1
  key2 = D2
  key3 = D3, D4
  </code></pre>
  
  <p>I will be maintaining AA, BB, CC, DD in an excel sheet. </p>
  
  <pre><code>row1 = AA
  row2 = BB
  row3 = CC
  row4 = DD
  </code></pre>
  
  <p>I want to iterate through all the rows and when it is in 1st row, it should       enter </p>
  
  <pre><code>key1 = A1
  key2 = A2
  key3 = A3
  </code></pre>
  
  <p>into an hashmap </p>
  
  <p>2nd row it should enter </p>
  
  <pre><code>key1 = B1
  key2 = B2
  key3 = B3
  </code></pre>
  
  <p>into an hashmap and so on....</p>
  
  <p>It should add the keys and values into the same hash map for every iteration and should clear the previous entries from the hash map</p>