title: String replacement in java, similar to a velocity template
body: <p>Is there any <code>String</code> replacement mechanism in Java, where I can pass objects with a text, and it replaces the string as it occurs.<br>
  For example, the text is :</p>
  
  <pre><code>Hello ${user.name},
      Welcome to ${site.name}. 
  </code></pre>
  
  <p>The objects I have are <code>"user"</code> and <code>"site"</code>. I want to replace the strings given inside <code>${}</code> with its equivalent values from the objects. This is same as we replace objects in a velocity template.</p>