code: public Template getTemplate(String name, Object args) throws IOException, ParseException {
          if (args instanceof String)
              return getTemplate(name, (String) args);
          if (args instanceof Locale)
              return getTemplate(name, (Locale) args);
          return getTemplate(name, null, null, args);
      }
docs: Get template.
  
  @param name - template name
  @return template instance
  @throws IOException    - If an I/O error occurs
  @throws ParseException - If the template cannot be parsed
  @see #getEngine()