io.undertow.js.templates.TemplateProvider Maven / Gradle / Ivy
package io.undertow.js.templates;
import java.io.Closeable;
import java.nio.file.Path;
import java.util.Map;
/**
* @author Stuart Douglas
*/
public interface TemplateProvider extends Closeable, AutoCloseable {
String name();
void init(Map properties);
Template compile(String templateName, String templateContents);
void close();
}