Package org.apache.xml.utils.res
Class XResourceBundle
java.lang.Object
java.util.ResourceBundle
java.util.ListResourceBundle
org.apache.xml.utils.res.XResourceBundle
- Direct Known Subclasses:
XResources_cy
,XResources_de
,XResources_el
,XResources_en
,XResources_es
,XResources_fr
,XResources_he
,XResources_hy
,XResources_it
,XResources_ja_JP_A
,XResources_ja_JP_HA
,XResources_ja_JP_HI
,XResources_ja_JP_I
,XResources_ka
,XResources_ko
,XResources_sv
,XResources_zh_CN
,XResources_zh_TW
The default (english) resource bundle.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constantsstatic final String
Error resource constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[][]
Get the association list.static final XResourceBundle
loadResourceBundle
(String className, Locale locale) Return a named ResourceBundle for a particular locale.Methods inherited from class java.util.ListResourceBundle
getKeys, handleGetObject
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet
-
Field Details
-
ERROR_RESOURCES
Error resource constants- See Also:
-
XSLT_RESOURCE
Error resource constants- See Also:
-
LANG_BUNDLE_NAME
Error resource constants- See Also:
-
MULT_ORDER
Error resource constants- See Also:
-
MULT_PRECEDES
Error resource constants- See Also:
-
MULT_FOLLOWS
Error resource constants- See Also:
-
LANG_ORIENTATION
Error resource constants- See Also:
-
LANG_RIGHTTOLEFT
Error resource constants- See Also:
-
LANG_LEFTTORIGHT
Error resource constants- See Also:
-
LANG_NUMBERING
Error resource constants- See Also:
-
LANG_ADDITIVE
Error resource constants- See Also:
-
LANG_MULT_ADD
Error resource constants- See Also:
-
LANG_MULTIPLIER
Error resource constants- See Also:
-
LANG_MULTIPLIER_CHAR
Error resource constants- See Also:
-
LANG_NUMBERGROUPS
Error resource constants- See Also:
-
LANG_NUM_TABLES
Error resource constants- See Also:
-
LANG_ALPHABET
Error resource constants- See Also:
-
LANG_TRAD_ALPHABET
Error resource constants- See Also:
-
-
Constructor Details
-
XResourceBundle
public XResourceBundle()
-
-
Method Details
-
loadResourceBundle
public static final XResourceBundle loadResourceBundle(String className, Locale locale) throws MissingResourceException Return a named ResourceBundle for a particular locale. This method mimics the behavior of ResourceBundle.getBundle().- Parameters:
className
- Name of local-specific subclass.locale
- the locale to prefer when searching for the bundle- Throws:
MissingResourceException
-
getContents
Get the association list.- Returns:
- The association list.
-