类 SimpleTheme

    • 构造器详细资料

      • SimpleTheme

        public SimpleTheme​(String name,
                           MessageSource messageSource)
        Create a SimpleTheme.
        参数:
        name - the name of the theme
        messageSource - the MessageSource that resolves theme messages
    • 方法详细资料

      • getName

        public final String getName()
        从接口复制的说明: Theme
        Return the name of the theme.
        指定者:
        getName 在接口中 Theme
        返回:
        the name of the theme (never null)
      • getMessageSource

        public final MessageSource getMessageSource()
        从接口复制的说明: Theme
        Return the specific MessageSource that resolves messages with respect to this theme.
        指定者:
        getMessageSource 在接口中 Theme
        返回:
        the theme-specific MessageSource (never null)