Top Description Fields Constructors Methods
com.sun.xml.fastinfoset

public Class CommonResourceBundle

extends AbstractResourceBundle
Class Inheritance
Imports
java.util.Locale, .ResourceBundle

Resource bundle implementation for localized messages.

Field Summary

Modifier and TypeField and Description
public static final String
private ResourceBundle
private static volatile CommonResourceBundle
private static Locale
Inherited from com.sun.xml.fastinfoset.AbstractResourceBundle:
LOCALE

Constructor Summary

AccessConstructor and Description
protected
protected

Method Summary

Modifier and TypeMethod and Description
public ResourceBundle
getBundle()

Implements abstract com.sun.xml.fastinfoset.AbstractResourceBundle.getBundle.

Subclasses of this class must implement this method so that the correct resource bundle is passed to methods in this class

public ResourceBundle
getBundle(Locale locale)

public static CommonResourceBundle
public static CommonResourceBundle
Inherited from com.sun.xml.fastinfoset.AbstractResourceBundle:
getKeysgetStringhandleGetObjectparseLocale

Field Detail

BASE_NAMEback to summary
public static final String BASE_NAME
bundleback to summary
private ResourceBundle bundle
instanceback to summary
private static volatile CommonResourceBundle instance
localeback to summary
private static Locale locale

Hides java.util.ResourceBundle.locale.

Constructor Detail

CommonResourceBundleback to summary
protected CommonResourceBundle()
CommonResourceBundleback to summary
protected CommonResourceBundle(Locale locale)

Method Detail

getBundleback to summary
public ResourceBundle getBundle()

Implements abstract com.sun.xml.fastinfoset.AbstractResourceBundle.getBundle.

Doc from com.sun.xml.fastinfoset.AbstractResourceBundle.getBundle.

Subclasses of this class must implement this method so that the correct resource bundle is passed to methods in this class

Annotations
@Override
getBundleback to summary
public ResourceBundle getBundle(Locale locale)
getInstanceback to summary
public static CommonResourceBundle getInstance()
getInstanceback to summary
public static CommonResourceBundle getInstance(Locale locale)