Read from a Text File into a hash map or list
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1635764/string-parsing-in-java-with-delimeter-tab-t-using-split">String parsing in Java with delimeter tab &ldquo;\t&rdquo; using split</a>  </p>
</blockquote>



<p>How do I read strings from a text file and store in a hashmap? File contains two columns.</p>

<p>File is like:</p>

<p>Title   en_CA</p>

<p>1       In accordance with the Statutory Conditions of your policy, we must advise that coverage under your policy will cease to be in effect 12:01 a.m., 15 days following receipt of this letter at the post office to which it is addressed.</p>

<p>The columns (like Title and en_CA or 1 and In accordance...) are separated by a tab not a space.</p>

<p>Thanks</p>
