Class SimpleLocaleContext

    • Constructor Detail

      • SimpleLocaleContext

        public SimpleLocaleContext​(@Nullable
                                   Locale locale)
        Create a new SimpleLocaleContext that exposes the specified Locale. Every getLocale() call will return this Locale.
        Parameters:
        locale - the Locale to expose, or null for no specific one