接口 Theme
- 所有已知实现类:
SimpleTheme
public interface Theme
A Theme can resolve theme-specific messages, codes, file paths, etcetera (e.g. CSS and image files in a web environment). The exposedMessageSource
supports theme-specific parameterization and internationalization.- 从以下版本开始:
- 17.06.2003
- 作者:
- Juergen Hoeller
- 另请参阅:
ThemeSource
,ThemeResolver
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 MessageSource
getMessageSource()
Return the specific MessageSource that resolves messages with respect to this theme.String
getName()
Return the name of the theme.
方法详细资料
getMessageSource
MessageSource getMessageSource()
Return the specific MessageSource that resolves messages with respect to this theme.- 返回:
- the theme-specific MessageSource (never
null
)