Package org.springframework.boot.groovy
Class GroovyTemplate
- java.lang.Object
- org.springframework.boot.groovy.GroovyTemplate
public abstract class GroovyTemplate extends Object
Helpful utilities for working with GroovyTemplate
s.
Constructor Summary
Constructors Constructor Description GroovyTemplate()
Constructor Detail
GroovyTemplate
public GroovyTemplate()
Method Detail
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