title: Check String content language in java
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2310536/language-recognition-in-java">Language recognition in Java</a>  </p>
  </blockquote>
  
  
  
  <p>I need to check the language of data present in the string. Pls some one help on this.</p>
  
  <p>for Ex:</p>
  
  <pre><code>String str ="Sample";
  </code></pre>
  
  <p>str string consist of english language data.</p>
  
  <pre><code>String str1 = "عينة";
  </code></pre>
  
  <p>str string consist of arabic language data.</p>