java.lang.Object | +--javax.security.auth.callback.LanguageCallback
Underlying security services instantiate and pass a
LanguageCallback
to the invokeCallback
method of a CallbackHandler
to retrieve the Locale
used for localizing text.
CallbackHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public LanguageCallback()
LanguageCallback
.public void setLocale(java.util.Locale locale)
Locale
.
locale
- the retrieved Locale
.public java.util.Locale getLocale()
Locale
.
Locale
, or null
if no Locale
could be retrieved.