[Java] Class TemplateEngine
- groovy.text.TemplateEngine
Represents an API to any template engine which is basically a factory of Template instances from a given text input.
- Authors:
- sam
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
Template |
createTemplate(Reader reader) | |
Template |
createTemplate(String templateText) | |
Template |
createTemplate(File file) | |
Template |
createTemplate(URL url) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
public Template createTemplate(Reader reader)
public Template createTemplate(String templateText)
public Template createTemplate(File file)
public Template createTemplate(URL url)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/text/TemplateEngine.html