Package org.springframework.boot.groovy
Class GroovyTemplate
java.lang.Object
org.springframework.boot.groovy.GroovyTemplate
Helpful utilities for working with Groovy
Template
s.- Since:
- 1.0.0
- Author:
- Dave Syer
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GroovyTemplate
public GroovyTemplate()
-
-
Method Details
-
template
public static String template(String name) throws IOException, org.codehaus.groovy.control.CompilationFailedException, ClassNotFoundException - Throws:
IOException
org.codehaus.groovy.control.CompilationFailedException
ClassNotFoundException
-
template
public static String template(String name, Map<String, ?> model) throws IOException, org.codehaus.groovy.control.CompilationFailedException, ClassNotFoundException- Throws:
IOException
org.codehaus.groovy.control.CompilationFailedException
ClassNotFoundException
-
template
public static String template(groovy.text.TemplateEngine engine, String name, Map<String, ?> model) throws IOException, org.codehaus.groovy.control.CompilationFailedException, ClassNotFoundException- Throws:
IOException
org.codehaus.groovy.control.CompilationFailedException
ClassNotFoundException
-