接口 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
-
方法概要
修饰符和类型方法说明voidcustomizeFreeMarkerVariables(Map<String, Object> variables) Customize thevariablesto be set as well-known FreeMarker objects.
-
方法详细资料
-
customizeFreeMarkerVariables
Customize thevariablesto be set as well-known FreeMarker objects.- 参数:
variables- the variables to customize- 另请参阅:
-