title: Sentence case conversion with java
body: <p>What is the best way to implement the sentence case conversion in java</p>
  
  <p>For Example:
  today is monday. yesterday was sunday. tuesday comes after monday</p>
  
  <p>output would be 
  <b>T</b>oday is monday. <b>Y</b>esterday was sunday. <b>T</b>uesday comes after monday</p>
  
  <p>My logic is:</p>
  
  <ul>
  <li><p>Convert the whole sentence to lower case letters. </p></li>
  <li><p>Check for <code>'.'</code> and convert the first character to CAPITAL letters after <code>'. '</code></p></li>
  </ul>