public void replace(String param,String value){
  int[] range;
  while ((range=findTemplate(param)) != null)   buff.replace(range[0],range[1],value);
}

public void replace ( String param , String value ) { int [ ] range ; while ( ( range = findTemplate ( param ) ) != null ) buff . replace ( range [ 0 ] , range [ 1 ] , value ) ; }
substitute the specified text for the parameter
