API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util. PropertyResourceBundle View Source
Author(s)
Since
JDK1.1
Version
Serial
Hierarchy
 Object
      ResourceBundle
          PropertyResourceBundle
Implements
Subclasses
Description
public 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.
Constructors
public PropertyResourceBundle (InputStream stream) throws IOException
  Creates a property resource bundle from an InputStream.
public PropertyResourceBundle (Reader reader) throws IOException
  Creates a property resource bundle from a Reader.
Methods
Hide/Show inherited methods
publicfinalstatic void clearCache () [Inherited From ResourceBundle]
  Removes all resource bundles from the cache that have been loaded using the caller's class loader.
publicfinalstatic void clearCache (ClassLoader loader) [Inherited From ResourceBundle]
  Removes all resource bundles from the cache that have been loaded using the given class loader.
public boolean containsKey (String key) [Inherited From ResourceBundle]
  Determines whether the given key is contained in this ResourceBundle or its parent bundles.
publicfinalstatic ResourceBundle getBundle (String baseName) [Inherited From ResourceBundle]
  Gets a resource bundle using the specified base name, the default locale, and the caller's class loader.
publicfinalstatic ResourceBundle getBundle (String baseName, Locale locale) [Inherited From ResourceBundle]
  Gets a resource bundle using the specified base name and locale, and the caller's class loader.
publicstatic ResourceBundle getBundle (String baseName, Locale locale, ClassLoader loader) [Inherited From ResourceBundle]
  Gets a resource bundle using the specified base name, locale, and class loader.
publicstatic ResourceBundle getBundle (String baseName, Locale targetLocale, ClassLoader loader, Control control) [Inherited From ResourceBundle]
  Returns a resource bundle using the specified base name, target locale, class loader and control.
publicfinalstatic ResourceBundle getBundle (String baseName, Locale targetLocale, Control control) [Inherited From ResourceBundle]
  Returns a resource bundle using the specified base name, target locale and control, and the caller's class loader.
publicfinalstatic ResourceBundle getBundle (String baseName, Control control) [Inherited From ResourceBundle]
  Returns a resource bundle using the specified base name, the default locale and the specified control.
public Enumeration<String> getKeys () [Specified in ResourceBundle]
  Returns an Enumeration of the keys contained in this ResourceBundle and its parent bundles.
public Locale getLocale () [Inherited From ResourceBundle]
  Returns the locale of this resource bundle.
publicfinal Object getObject (String key) [Inherited From ResourceBundle]
  Gets an object for the given key from this resource bundle or one of its parents.
publicfinal String getString (String key) [Inherited From ResourceBundle]
  Gets a string for the given key from this resource bundle or one of its parents.
publicfinal String getStringArray (String key) [Inherited From ResourceBundle]
  Gets a string array for the given key from this resource bundle or one of its parents.
public Object handleGetObject (String key) [Specified in ResourceBundle]
protected Set<String> handleKeySet () [Overrides ResourceBundle]
  Returns a Set of the keys contained only in this ResourceBundle.
public Set<String> keySet () [Inherited From ResourceBundle]
  Returns a Set of all keys contained in this ResourceBundle and its parent bundles.
protected void setParent (ResourceBundle parent) [Inherited From ResourceBundle]
  Sets the parent bundle of this bundle.
Fields
Hide/Show inherited fields
protected ResourceBundle parent [Inherited From ResourceBundle]
  The parent bundle of this bundle.
Nested Classes
  ResourceBundle.Control
ResourceBundle.Control defines a set of callback methods that are invoked by the ResourceBundle.getBundle factory methods during the bundle loading process.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar