public String render ( Template template , GlobalScope ... extraGlobalScopes ) throws IOException { StringWriter out = new StringWriter ( ) ; render ( template , out , extraGlobalScopes ) ; return out . toString ( ) ; }
Renders given template and returns rendered text .