Module java.base

Class LanguageCallback

    • Constructor Detail

      • LanguageCallback

        public LanguageCallback()
        Construct a LanguageCallback.
    • Method Detail

      • setLocale

        public void setLocale​(Locale locale)
        Set the retrieved Locale.
        Parameters:
        locale - the retrieved Locale.
        See Also:
        getLocale()
      • getLocale

        public Locale getLocale()
        Get the retrieved Locale.
        Returns:
        the retrieved Locale, or null if no Locale could be retrieved.
        See Also:
        setLocale(java.util.Locale)