软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.util |
包含集合框架、遗留的集合类、事件模型、日期和时间的设施、国际化和各种实用工具类(一个字符串标记,一个随机数发生器,和一位阵列)。
|
java.util.logging |
提供类和java 2平台的核心
TM测井设备接口。
|
javax.accessibility |
定义用户界面组件和提供对这些组件的访问的辅助技术之间的一个合同。
|
Modifier and Type | Method and Description |
---|---|
void |
Window.applyResourceBundle(ResourceBundle rb)
过时的。
在J2SE 1.4,取而代之的
Component.applyComponentOrientation 。
|
static ComponentOrientation |
ComponentOrientation.getOrientation(ResourceBundle bdl)
过时的。
|
Modifier and Type | Class and Description |
---|---|
class |
ListResourceBundle
ListResourceBundle 是
ResourceBundle 管理资源在一个方便和易于使用的列表区域抽象类。
|
class |
PropertyResourceBundle
PropertyResourceBundle 是一个具体的子类
ResourceBundle 管理资源的地区使用从属性文件的一组静态字符串。
|
Modifier and Type | Field and Description |
---|---|
protected ResourceBundle |
ResourceBundle.parent
这束的母束。
|
Modifier and Type | Method and Description |
---|---|
static ResourceBundle |
ResourceBundle.getBundle(String baseName)
使用指定的基名称、默认区域设置和调用方的类加载程序获取资源捆绑。
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName, Locale locale)
获取使用指定的基名称和区域设置的资源包,以及调用方的类加载程序。
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName, Locale locale, ClassLoader loader)
使用指定的基名称、区域设置和类加载程序获取资源包。
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName, Locale targetLocale, ClassLoader loader, ResourceBundle.Control control)
使用指定的基名称、目标区域设置、类装载器和控件返回一个资源包。
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName, Locale targetLocale, ResourceBundle.Control control)
使用指定的基名称、目标区域设置和控件,以及调用方的类加载程序返回资源包。
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName, ResourceBundle.Control control)
使用指定的基名称、默认区域设置和指定控件返回资源包。
|
ResourceBundle |
ResourceBundle.Control.newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)
实例化一个给定的给定的格式和现场束名称资源束,使用给定的类装载器,如果有必要的话。
|
Modifier and Type | Method and Description |
---|---|
boolean |
ResourceBundle.Control.needsReload(String baseName, Locale locale, String format, ClassLoader loader, ResourceBundle bundle, long loadTime)
确定是否过期
bundle 缓存中需要重新加载基于加载时间
loadTime 或其他标准。
|
protected void |
ResourceBundle.setParent(ResourceBundle parent)
设置此捆绑的父包。
|
Modifier and Type | Method and Description |
---|---|
ResourceBundle |
Logger.getResourceBundle()
检索该记录器的本地化资源束。
|
ResourceBundle |
LogRecord.getResourceBundle()
获取本地化资源包
|
Modifier and Type | Method and Description |
---|---|
void |
Logger.logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Object... params)
记录一个消息,指定源类、方法和资源包,用一个可选的消息参数列表。
|
void |
Logger.logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Throwable thrown)
记录消息,并指定源类、方法和资源束,与相关的错误信息。
|
void |
Logger.setResourceBundle(ResourceBundle bundle)
设置这个记录仪资源束。
|
void |
LogRecord.setResourceBundle(ResourceBundle bundle)
设置本地化资源包。
|
Modifier and Type | Class and Description |
---|---|
class |
AccessibleResourceBundle
过时的。
这个类是过时的版本1.3的java平台。
|
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.