站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Uses of Class java.util.ResourceBundle (Java Platform SE 6) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Java™ Platform
Standard Ed. 6

Uses of Class
java.util.ResourceBundle

Packages that use ResourceBundle
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
java.util.logging Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. 
javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components. 
 

Uses of ResourceBundle in java.awt
 

Methods in java.awt with parameters of type ResourceBundle
 void Window.applyResourceBundle(ResourceBundle rb)
          Deprecated. As of J2SE 1.4, replaced by Component.applyComponentOrientation.
static ComponentOrientation ComponentOrientation.getOrientation(ResourceBundle bdl)
          Deprecated. As of J2SE 1.4, use ComponentOrientation.getOrientation(java.util.Locale).
 

Uses of ResourceBundle in java.util
 

Subclasses of ResourceBundle in java.util
 class ListResourceBundle
          ListResourceBundle is an abstract subclass of ResourceBundle that manages resources for a locale in a convenient and easy to use list.
 class PropertyResourceBundle
          PropertyResourceBundle is a concrete subclass of ResourceBundle that manages resources for a locale using a set of static strings from a property file.
 

Fields in java.util declared as ResourceBundle
protected  ResourceBundle ResourceBundle.parent
          The parent bundle of this bundle.
 

Methods in java.util that return ResourceBundle
static ResourceBundle ResourceBundle.getBundle(String baseName)
          Gets a resource bundle using the specified base name, the default locale, and the caller's class loader.
static ResourceBundle ResourceBundle.getBundle(String baseName, Locale locale)
          Gets a resource bundle using the specified base name and locale, and the caller's class loader.
static ResourceBundle ResourceBundle.getBundle(String baseName, Locale locale, ClassLoader loader)
          Gets a resource bundle using the specified base name, locale, and class loader.
static ResourceBundle ResourceBundle.getBundle(String baseName, Locale targetLocale, ClassLoader loader, ResourceBundle.Control control)
          Returns a resource bundle using the specified base name, target locale, class loader and control.
static ResourceBundle ResourceBundle.getBundle(String baseName, Locale targetLocale, ResourceBundle.Control control)
          Returns a resource bundle using the specified base name, target locale and control, and the caller's class loader.
static ResourceBundle ResourceBundle.getBundle(String baseName, ResourceBundle.Control control)
          Returns a resource bundle using the specified base name, the default locale and the specified control.
 ResourceBundle ResourceBundle.Control.newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)
          Instantiates a resource bundle for the given bundle name of the given format and locale, using the given class loader if necessary.
 

Methods in java.util with parameters of type ResourceBundle
 boolean ResourceBundle.Control.needsReload(String baseName, Locale locale, String format, ClassLoader loader, ResourceBundle bundle, long loadTime)
          Determines if the expired bundle in the cache needs to be reloaded based on the loading time given by loadTime or some other criteria.
protected  void ResourceBundle.setParent(ResourceBundle parent)
          Sets the parent bundle of this bundle.
 

Uses of ResourceBundle in java.util.logging
 

Methods in java.util.logging that return ResourceBundle
 ResourceBundle LogRecord.getResourceBundle()
          Get the localization resource bundle
 ResourceBundle Logger.getResourceBundle()
          Retrieve the localization resource bundle for this logger for the current default locale.
 

Methods in java.util.logging with parameters of type ResourceBundle
 void LogRecord.setResourceBundle(ResourceBundle bundle)
          Set the localization resource bundle.
 

Uses of ResourceBundle in javax.accessibility
 

Subclasses of ResourceBundle in javax.accessibility
 class AccessibleResourceBundle
          Deprecated. This class is deprecated as of version 1.3 of the Java Platform.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.