接口 FreeMarkerVariablesCustomizer
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Callback interface that can be implemented by beans wishing to customize the FreeMarker
variables used as
shared variables
before it is used by an auto-configured FreeMarkerConfigurationFactory
.- 从以下版本开始:
- 3.4.0
- 作者:
- Stephane Nicoll
-
方法概要
修饰符和类型方法说明void
customizeFreeMarkerVariables
(Map<String, Object> variables) Customize thevariables
to be set as well-known FreeMarker objects.
-
方法详细资料
-
customizeFreeMarkerVariables
Customize thevariables
to be set as well-known FreeMarker objects.- 参数:
variables
- the variables to customize- 另请参阅:
-