public String replace(final CharSequence source){
  if (source == null) {
    return null;
  }
  return replace(source,0,source.length());
}

public String replace ( final CharSequence source ) { if ( source == null ) { return null ; } return replace ( source , 0 , source . length ( ) ) ; }
replaces all the occurrences of variables with their matching values from the resolver using the given source as a template . the source is not altered by this method .
