title: how to read a config file with sections using Java
body: <p>Given a file containing this:</p>
  
  <pre><code>[upper]
  a = A
  b = B
  
  [words]
  1 = one
  2 = two
  </code></pre>
  
  <p>How do I access these key/values with reference to their headers? Java's Properties() class only handles section-less files.</p>