@ConfigurationProperties(prefix="spring.velocity")
public class VelocityProperties
extends org.springframework.boot.autoconfigure.template.AbstractTemplateViewResolverProperties
ConfigurationProperties for configuring Velocity.| 构造器和说明 |
|---|
VelocityProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
applyToMvcViewResolver(Object viewResolver) |
String |
getDateToolAttribute() |
String |
getNumberToolAttribute() |
Map<String,String> |
getProperties() |
String |
getResourceLoaderPath() |
String |
getToolboxConfigLocation() |
boolean |
isPreferFileSystemAccess() |
void |
setDateToolAttribute(String dateToolAttribute) |
void |
setNumberToolAttribute(String numberToolAttribute) |
void |
setPreferFileSystemAccess(boolean preferFileSystemAccess) |
void |
setProperties(Map<String,String> properties) |
void |
setResourceLoaderPath(String resourceLoaderPath) |
void |
setToolboxConfigLocation(String toolboxConfigLocation) |
getPrefix, getRequestContextAttribute, getSuffix, isAllowRequestOverride, isAllowSessionOverride, isExposeRequestAttributes, isExposeSessionAttributes, isExposeSpringMacroHelpers, setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers, setPrefix, setRequestContextAttribute, setSuffixpublic String getDateToolAttribute()
public void setDateToolAttribute(String dateToolAttribute)
public String getNumberToolAttribute()
public void setNumberToolAttribute(String numberToolAttribute)
public String getResourceLoaderPath()
public void setResourceLoaderPath(String resourceLoaderPath)
public String getToolboxConfigLocation()
public void setToolboxConfigLocation(String toolboxConfigLocation)
public boolean isPreferFileSystemAccess()
public void setPreferFileSystemAccess(boolean preferFileSystemAccess)
public void applyToMvcViewResolver(Object viewResolver)
applyToMvcViewResolver 在类中 org.springframework.boot.autoconfigure.template.AbstractTemplateViewResolverPropertiesCopyright © 2022. All rights reserved.