com.sun.xml.fastinfoset
Class CommonResourceBundle

java.lang.Object
  extended byjava.util.ResourceBundle
      extended bycom.sun.xml.fastinfoset.AbstractResourceBundle
          extended bycom.sun.xml.fastinfoset.CommonResourceBundle

public class CommonResourceBundle
extends AbstractResourceBundle

Resource bundle implementation for localized messages.


Field Summary
static java.lang.String BASE_NAME
           
 
Fields inherited from class com.sun.xml.fastinfoset.AbstractResourceBundle
LOCALE
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
protected CommonResourceBundle()
           
protected CommonResourceBundle(java.util.Locale locale)
           
 
Method Summary
 java.util.ResourceBundle getBundle()
          Subclasses of this class must implement this method so that the correct resource bundle is passed to methods in this class
 java.util.ResourceBundle getBundle(java.util.Locale locale)
           
static CommonResourceBundle getInstance()
           
static CommonResourceBundle getInstance(java.util.Locale locale)
           
 
Methods inherited from class com.sun.xml.fastinfoset.AbstractResourceBundle
getBundleName, getKeys, getString, getString, handleGetObject, parseLocale, setBundleName
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_NAME

public static final java.lang.String BASE_NAME
See Also:
Constant Field Values
Constructor Detail

CommonResourceBundle

protected CommonResourceBundle()

CommonResourceBundle

protected CommonResourceBundle(java.util.Locale locale)
Method Detail

getInstance

public static CommonResourceBundle getInstance()

getInstance

public static CommonResourceBundle getInstance(java.util.Locale locale)

getBundle

public java.util.ResourceBundle getBundle()
Description copied from class: AbstractResourceBundle
Subclasses of this class must implement this method so that the correct resource bundle is passed to methods in this class

Specified by:
getBundle in class AbstractResourceBundle
Returns:
A java.util.ResourceBundle from the subsclass. Methods in this class will use this reference.

getBundle

public java.util.ResourceBundle getBundle(java.util.Locale locale)