|
|||||||||
| Home >> All >> javax >> security >> auth >> [ callback overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.security.auth.callback
Class LanguageCallback

java.lang.Objectjavax.security.auth.callback.LanguageCallback
- All Implemented Interfaces:
- Callback, java.io.Serializable
- public class LanguageCallback
- extends java.lang.Object
- implements Callback, java.io.Serializable
- extends java.lang.Object
Underlying security services instantiate and pass a LanguageCallback
to the handle() method of a CallbackHandler to retrieve
the java.util.Locale used for localizing text.
| Field Summary | |
private java.util.Locale |
locale
|
| Constructor Summary | |
LanguageCallback()
Construct a LanguageCallback. |
|
| Method Summary | |
java.util.Locale |
getLocale()
Get the retrieved Locale. |
void |
setLocale(java.util.Locale locale)
Set the retrieved Locale. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
locale
private java.util.Locale locale
- Since:
- 1.4
| Constructor Detail |
LanguageCallback
public LanguageCallback()
- Construct a
LanguageCallback.
| Method Detail |
setLocale
public void setLocale(java.util.Locale locale)
- Set the retrieved Locale.
getLocale
public java.util.Locale getLocale()
- Get the retrieved Locale.
|
|||||||||
| Home >> All >> javax >> security >> auth >> [ callback overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
javax.security.auth.callback.LanguageCallback