接口 FreeMarkerConfig
- 所有已知实现类:
FreeMarkerConfigurer
public interface FreeMarkerConfig
Interface to be implemented by objects that configure and manage a
FreeMarker Configuration object in a web environment. Detected and
used by
FreeMarkerView.- 从以下版本开始:
- 4.0
- 作者:
- Darren Davison, Rob Harrop
- 另请参阅:
-
方法概要
修饰符和类型方法说明freemarker.template.ConfigurationReturn the FreeMarkerConfigurationobject for the current web application context.
-
方法详细资料
-
getConfiguration
freemarker.template.Configuration getConfiguration()Return the FreeMarkerConfigurationobject for the current web application context.A FreeMarker Configuration object may be used to set FreeMarker properties and shared objects, and allows to retrieve templates.
- 返回:
- the FreeMarker Configuration
-