code: static public InputStream replaceProperties(InputStream source, Properties props) throws IOException, SubstitutionException {
  	return replaceProperties(source, props, "${", "}");
      }
docs: Creates an InputStream containing the document resulting from replacing template
  parameters in the given InputStream source.
  @param source The source stream
  @param props The properties
  @return An InputStream containing the resulting document.