public String resolveTemplate(ITemplateType templateType,Map<String,String> replacements) throws IOException {
  Path path=getTemplatePath(templateType);
  String template=new String(Files.readAllBytes(path),StandardCharsets.UTF_8);
  return insertProperties(template,replacements);
}

public String resolveTemplate ( ITemplateType templateType , Map < String , String > replacements ) throws IOException { Path path = getTemplatePath ( templateType ) ; String template = new String ( Files . readAllBytes ( path ) , StandardCharsets . UTF_8 ) ; return insertProperties ( template , replacements ) ; }
resolves a template for the given template type and set of placeholder to replace .
