code: public String render(Template template, Map<String, Object> parameters, GlobalScope... extraGlobalScopes) throws IOException {  
      StringWriter out = new StringWriter();
      render(template, parameters, out, extraGlobalScopes);
      return out.toString();
    }
docs: Renders given template with the provided parameters and returns the
  rendered text.
  
  @param template Previously loaded template to render
  @param parameters Parameters to pass to template
  @param extraGlobalScopes Any extra global scopes to make available
  @return Rendered text
  @throws IOException