接口 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 exposed MessageSource supports theme-specific parameterization and internationalization.
    从以下版本开始:
    17.06.2003
    作者:
    Juergen Hoeller
    另请参阅:
    ThemeSource, ThemeResolver
    • 方法详细资料

      • getName

        String getName()
        Return the name of the theme.
        返回:
        the name of the theme (never null)
      • getMessageSource

        MessageSource getMessageSource()
        Return the specific MessageSource that resolves messages with respect to this theme.
        返回:
        the theme-specific MessageSource (never null)