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 Details

    • FreeMarkerTemplateService

      public FreeMarkerTemplateService()
  • Method Details

    • getInstance

      public static FreeMarkerTemplateService getInstance()
      Get the instance of the freemarker template service
      Returns:
      the instance of the freemarker template service
    • getAbsolutePathFromRelativePath

      public String getAbsolutePathFromRelativePath(String strPath)
    • getDefaultPattern

      public String getDefaultPattern(Locale locale)
    • getAutoIncludesList

      public 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
    • getAutoImportsMap

      public List<AutoImport> 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