public interface FreeMarkerTemplateEngine extends TemplateEngine
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_CACHE_SIZE
Default max number of templates to cache
|
static String |
DEFAULT_TEMPLATE_EXTENSION
Default template extension
|
| Modifier and Type | Method and Description |
|---|---|
static FreeMarkerTemplateEngine |
create()
Create a template engine using defaults
|
FreeMarkerTemplateEngine |
setExtension(String extension)
Set the extension for the engine
|
FreeMarkerTemplateEngine |
setMaxCacheSize(int maxCacheSize)
Set the max cache size for the engine
|
isCachingEnabled, render, renderstatic final int DEFAULT_MAX_CACHE_SIZE
static final String DEFAULT_TEMPLATE_EXTENSION
static FreeMarkerTemplateEngine create()
FreeMarkerTemplateEngine setExtension(String extension)
extension - the extensionFreeMarkerTemplateEngine setMaxCacheSize(int maxCacheSize)
maxCacheSize - the maxCacheSizeCopyright © 2018 Eclipse. All rights reserved.