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.AbstractFreeMarkerTemplateServiceTemplate service based on the Freemarker template engine
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN_SERVICE
-
Constructor Summary
Constructors Constructor Description FreeMarkerTemplateService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAbsolutePathFromRelativePath(java.lang.String strPath)java.util.List<AutoInclude>getAutoIncludesList()Load the data of all the autoInclude objects and returns them as a listjava.lang.StringgetDefaultPattern(java.util.Locale locale)static FreeMarkerTemplateServicegetInstance()Get the instance of the freemarker template service-
Methods inherited from class fr.paris.lutece.portal.service.template.AbstractFreeMarkerTemplateService
addAutoInclude, addPluginMacros, getAutoIncludes, init, init, initConfig, loadTemplate, loadTemplate, loadTemplateFromStringFtl, loadTemplateFromStringFtl, removeAutoInclude, resetCache, resetConfiguration, setSharedVariable, setTemplateUpdateDelay
-
-
-
-
Field Detail
-
BEAN_SERVICE
public static final java.lang.String BEAN_SERVICE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static FreeMarkerTemplateService getInstance()
Get the instance of the freemarker template service- Returns:
- the instance of the freemarker template service
-
getAbsolutePathFromRelativePath
public java.lang.String getAbsolutePathFromRelativePath(java.lang.String strPath)
-
getDefaultPattern
public java.lang.String getDefaultPattern(java.util.Locale locale)
-
getAutoIncludesList
public java.util.List<AutoInclude> 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
-
-