public class LanguageCallback extends Object implements Callback, Serializable
基础安全服务实例,并通过一个LanguageCallback到handle一个的方法CallbackHandler检索Locale用于本地化的文本。
CallbackHandler , Serialized Form
| Constructor and Description |
|---|
LanguageCallback()
构建一个
LanguageCallback 。
|
public void setLocale(Locale locale)
Locale 。
locale - 检索到的
Locale 。
getLocale()
public Locale getLocale()
Locale 。
Locale ,如果没有
Locale可以
Locale ,则为null。
setLocale(java.util.Locale)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.