how to retrieve locale object using the display name of the locale
<p>I want to create a java.util.Locale object using the display name of the locale. For example, i want the locale of thailand having the value </p>

<blockquote>
  <p>th_TH</p>
</blockquote>

<p>if the display name is </p>

<blockquote>
  <p>Thai (Thailand)</p>
</blockquote>

<p>How to do this? </p>

<p>One way i could think of is to iterate in all the available locales and comparing the display name of each locale with my display name and finding the locale object. But i want to know if there is any smarter way available for this.</p>
