title: How do I parse this into a MultiValued Map?
body: <p>I have a string that is
  <code>name,5486984,189.658.235.215,3.158.68.15,name2,189189,189.658.218.268,3.158.68.13...</code></p>
  
  <p>and so on</p>
  
  <p>I was thinking that I would put this into a map but I'm not entirely sure. I'm looking at the Apache Commons Collection library that has Multivalued map. Even if I use that I am unsure how to parse this StringArray into it. </p>
  
  <p>EDIT:</p>
  
  <p>Thank you for the response. My overall goal is getting that String to show up in a JSF Drop down.
  I have </p>
  
  <pre><code>&lt;f:selectItems itemValue="#{mainBean.information}" value="#mainBean.information}" /&gt;
  </code></pre>
  
  <p>in my Java I have </p>
  
  <pre><code>Private String [] information;
  information = config.getStringArray("information"); // This brings in this string from the property file
  </code></pre>
  
  <p>I've been referencing this
  <a href="http://www.horstmann.com/corejsf/refcard.html" rel="nofollow noreferrer">http://www.horstmann.com/corejsf/refcard.html</a></p>
  
  <p>So with what I have here, that I just posted. It will populate every element of that string array. I only want the "name" to show up and the three other values to be passed as the actual "value".</p>
  
  <p>I may need to make a new question I guess. </p>
  
  <p>I tried to make a Map object that is a string and a string array but JSF refuses to take it. </p>
  
  <p>Here is the new question:
  <a href="https://stackoverflow.com/questions/12918956/jsf-i-need-to-populate-selectitems-with-a-stringarray-but-i-need-to-parse-it-fir">JSF I need to populate selectItems with a StringArray but I need to parse it first</a></p>