public static String get ( final String templateName , final Map < String , Object > data ) { StringWriter writer = new StringWriter ( ) ; write ( templateName , data , writer ) ; return writer . toString ( ) ; }
Process with given template + data and get result as a string .