public class CommonResourceBundle extends AbstractResourceBundle
ResourceBundle.Control
Modifier and Type | Field and Description |
---|---|
static String |
BASE_NAME |
LOCALE
parent
Modifier | Constructor and Description |
---|---|
protected |
CommonResourceBundle() |
protected |
CommonResourceBundle(Locale locale) |
Modifier and Type | Method and Description |
---|---|
ResourceBundle |
getBundle()
Subclasses of this class must implement this method so that the
correct resource bundle is passed to methods in this class
|
ResourceBundle |
getBundle(Locale locale) |
static CommonResourceBundle |
getInstance() |
static CommonResourceBundle |
getInstance(Locale locale) |
getKeys, getString, handleGetObject, parseLocale
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
public static final String BASE_NAME
protected CommonResourceBundle()
protected CommonResourceBundle(Locale locale)
public static CommonResourceBundle getInstance()
public static CommonResourceBundle getInstance(Locale locale)
public ResourceBundle getBundle()
AbstractResourceBundle
getBundle
in class AbstractResourceBundle
public ResourceBundle getBundle(Locale locale)
Copyright © 2016 Oracle Corpration. All rights reserved.