FileDocCategorySizeDatePackage
LanguageCallback.javaAPI DocJava SE 5 API1423Fri Aug 26 14:57:46 BST 2005javax.security.auth.callback

LanguageCallback

public class LanguageCallback extends Object implements Callback, Serializable

Underlying security services instantiate and pass a LanguageCallback to the handle method of a CallbackHandler to retrieve the Locale used for localizing text.

version
1.14, 12/19/03
see
javax.security.auth.callback.CallbackHandler

Fields Summary
private static final long
serialVersionUID
private Locale
locale
Constructors Summary
public LanguageCallback()
Construct a LanguageCallback.


            
       
Methods Summary
public java.util.LocalegetLocale()
Get the retrieved Locale.

return
the retrieved Locale, or null if no Locale could be retrieved.
see
#setLocale

	return locale;
    
public voidsetLocale(java.util.Locale locale)
Set the retrieved Locale.

param
locale the retrieved Locale.
see
#getLocale

	this.locale = locale;