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 GroovyTemplates.
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:
IOExceptionorg.codehaus.groovy.control.CompilationFailedExceptionClassNotFoundException
template
public static String template(String name, Map<String,?> model) throws IOException, org.codehaus.groovy.control.CompilationFailedException, ClassNotFoundException
- Throws:
IOExceptionorg.codehaus.groovy.control.CompilationFailedExceptionClassNotFoundException
template
public static String template(groovy.text.TemplateEngine engine, String name, Map<String,?> model) throws IOException, org.codehaus.groovy.control.CompilationFailedException, ClassNotFoundException
- Throws:
IOExceptionorg.codehaus.groovy.control.CompilationFailedExceptionClassNotFoundException