org.springframework.context.i18n

Interface LocaleContext

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.util.Locale getLocale()
      Return the current Locale, which can be fixed or determined dynamically, depending on the implementation strategy.
    • Method Detail

      • getLocale

        @Nullable
        java.util.Locale getLocale()
        Return the current Locale, which can be fixed or determined dynamically, depending on the implementation strategy.
        Returns:
        the current Locale, or null if no specific Locale associated