public class LanguageCallback extends Object implements Callback, Serializable
LanguageCallback
to the handle()
method of a CallbackHandler
to retrieve
the Locale
used for localizing text.CallbackHandler
,
Serialized FormConstructor and Description |
---|
LanguageCallback()
Construct a
LanguageCallback . |
public LanguageCallback()
LanguageCallback
.public void setLocale(Locale locale)
locale
- the retrieved Locale.getLocale()
public Locale getLocale()
null
if no Locale could be
retrieved.setLocale(Locale)