Compare HashMap with text file
<p>I have a text file which contains field and values like "ID:987654 TYPE:Active ITEM:New.."
. Every line contains one item and different attribute. Now I want to compare this text file with HashMap which has already those values. What is the best way to compare them. How to read this text file and compare with HashMap. any help will be appreciated.</p>

<p>Thanks a lot.  </p>
