public class LanguageCallback extends Object implements Callback, Serializable
基本的安全服务,通过LanguageCallback
实例化的CallbackHandler
的handle
方法检索用于定位文本的Locale
。
CallbackHandler
,
Serialized Form
Constructor and Description |
---|
LanguageCallback()
构建一个
LanguageCallback 。
|
public void setLocale(Locale locale)
Locale
。
locale
-检索
Locale
。
getLocale()
public Locale getLocale()
Locale
。
Locale
,或空如果没有
Locale
可以检索。
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.