@Authors(value="Nikolche Mihajlovski")
@Since(value="4.1.0")
public class Templates
extends org.rapidoid.RapidoidThing
| Modifier and Type | Field and Description |
|---|---|
static RapidoidTemplateFactory |
DEFAULT_FACTORY |
static String[] |
DEFAULT_PATH |
static TemplateStore |
DEFAULT_STORE |
| Constructor and Description |
|---|
Templates() |
| Modifier and Type | Method and Description |
|---|---|
static Template |
compile(String source) |
static Template |
compile(String source,
Class<?> modelType) |
static String[] |
getPath() |
static Template |
load(String filename) |
static Template |
load(String filename,
Class<?> modelType) |
static void |
reset() |
static void |
setPath(String... templatesPath) |
static String[] |
withDefaultPath(String[] templatesPath) |
public static final String[] DEFAULT_PATH
public static final TemplateStore DEFAULT_STORE
public static final RapidoidTemplateFactory DEFAULT_FACTORY
Copyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.