Class FreeMarkerTemplateService
java.lang.Object
fr.paris.lutece.portal.service.template.AbstractFreeMarkerTemplateService
fr.paris.lutece.portal.service.template.FreeMarkerTemplateService
- All Implemented Interfaces:
fr.paris.lutece.portal.service.template.IFreeMarkerTemplateService
public class FreeMarkerTemplateService
extends fr.paris.lutece.portal.service.template.AbstractFreeMarkerTemplateService
Template service based on the Freemarker template engine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAbsolutePathFromRelativePath(String strPath) Load the data of all the autoImport objects and returns them as a listLoad the data of all the autoInclude objects and returns them as a listgetDefaultPattern(Locale locale) static FreeMarkerTemplateServiceGet the instance of the freemarker template serviceMethods inherited from class fr.paris.lutece.portal.service.template.AbstractFreeMarkerTemplateService
addAutoImport, addAutoInclude, addPluginAutoImport, addPluginAutoInclude, addPluginMacros, getAutoImports, getAutoIncludes, init, init, init, initConfig, loadTemplate, loadTemplate, loadTemplateFromStringFtl, loadTemplateFromStringFtl, removeAutoImport, removeAutoInclude, resetCache, resetConfiguration, setSharedVariable, setTemplateAutoEscape, setTemplateUpdateDelay
-
Constructor Details
-
FreeMarkerTemplateService
public FreeMarkerTemplateService()
-
-
Method Details
-
getInstance
Get the instance of the freemarker template service- Returns:
- the instance of the freemarker template service
-
getAbsolutePathFromRelativePath
-
getDefaultPattern
-
getAutoIncludesList
Load the data of all the autoInclude objects and returns them as a list- Returns:
- the list which contains the data of all the autoInclude objects
-
getAutoImportsMap
Load the data of all the autoImport objects and returns them as a list- Returns:
- the list which contains the data of all the autoImport objects
-