Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.security.auth.callback
Class LanguageCallback  view LanguageCallback download LanguageCallback.java

java.lang.Object
  extended byjavax.security.auth.callback.LanguageCallback
All Implemented Interfaces:
Callback, java.io.Serializable

public class LanguageCallback
extends java.lang.Object
implements Callback, java.io.Serializable

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.