public class TemplateManagerUtil
extends Object
Modifier and Type | Method and Description |
---|---|
static void |
destroy() |
static void |
destroy(ClassLoader classLoader) |
static Set<String> |
getSupportedLanguageTypes(String propertyKey) |
static Template |
getTemplate(String templateManagerName,
List<TemplateResource> templateResources,
boolean restricted) |
static Template |
getTemplate(String templateManagerName,
List<TemplateResource> templateResources,
TemplateResource errorTemplateResource,
boolean restricted) |
static Template |
getTemplate(String templateManagerName,
TemplateResource templateResource,
boolean restricted) |
static Template |
getTemplate(String templateManagerName,
TemplateResource templateResource,
TemplateResource errorTemplateResource,
boolean restricted) |
static TemplateManager |
getTemplateManager(String templateManagerName) |
static Set<String> |
getTemplateManagerNames() |
static Map<String,TemplateManager> |
getTemplateManagers() |
static boolean |
hasTemplateManager(String templateManagerName) |
public static void destroy()
public static void destroy(ClassLoader classLoader)
public static Set<String> getSupportedLanguageTypes(String propertyKey)
public static Template getTemplate(String templateManagerName, List<TemplateResource> templateResources, boolean restricted) throws TemplateException
TemplateException
public static Template getTemplate(String templateManagerName, List<TemplateResource> templateResources, TemplateResource errorTemplateResource, boolean restricted) throws TemplateException
TemplateException
public static Template getTemplate(String templateManagerName, TemplateResource templateResource, boolean restricted) throws TemplateException
TemplateException
public static Template getTemplate(String templateManagerName, TemplateResource templateResource, TemplateResource errorTemplateResource, boolean restricted) throws TemplateException
TemplateException
public static TemplateManager getTemplateManager(String templateManagerName)
public static Set<String> getTemplateManagerNames()
public static Map<String,TemplateManager> getTemplateManagers()
public static boolean hasTemplateManager(String templateManagerName)