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
public class XResourceBundle extends java.util.ListResourceBundleThe default (english) resource bundle.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringERROR_RESOURCESError resource constantsstatic java.lang.StringLANG_ADDITIVEError resource constantsstatic java.lang.StringLANG_ALPHABETError resource constantsstatic java.lang.StringLANG_BUNDLE_NAMEError resource constantsstatic java.lang.StringLANG_LEFTTORIGHTError resource constantsstatic java.lang.StringLANG_MULT_ADDError resource constantsstatic java.lang.StringLANG_MULTIPLIERError resource constantsstatic java.lang.StringLANG_MULTIPLIER_CHARError resource constantsstatic java.lang.StringLANG_NUM_TABLESError resource constantsstatic java.lang.StringLANG_NUMBERGROUPSError resource constantsstatic java.lang.StringLANG_NUMBERINGError resource constantsstatic java.lang.StringLANG_ORIENTATIONError resource constantsstatic java.lang.StringLANG_RIGHTTOLEFTError resource constantsstatic java.lang.StringLANG_TRAD_ALPHABETError resource constantsstatic java.lang.StringMULT_FOLLOWSError resource constantsstatic java.lang.StringMULT_ORDERError resource constantsstatic java.lang.StringMULT_PRECEDESError resource constantsstatic java.lang.StringXSLT_RESOURCEError resource constants
-
Constructor Summary
Constructors Constructor Description XResourceBundle()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[][]getContents()Get the association list.static XResourceBundleloadResourceBundle(java.lang.String className, java.util.Locale locale)Return a named ResourceBundle for a particular locale.
-
-
-
Field Detail
-
ERROR_RESOURCES
public static final java.lang.String ERROR_RESOURCES
Error resource constants- See Also:
- Constant Field Values
-
XSLT_RESOURCE
public static final java.lang.String XSLT_RESOURCE
Error resource constants- See Also:
- Constant Field Values
-
LANG_BUNDLE_NAME
public static final java.lang.String LANG_BUNDLE_NAME
Error resource constants- See Also:
- Constant Field Values
-
MULT_ORDER
public static final java.lang.String MULT_ORDER
Error resource constants- See Also:
- Constant Field Values
-
MULT_PRECEDES
public static final java.lang.String MULT_PRECEDES
Error resource constants- See Also:
- Constant Field Values
-
MULT_FOLLOWS
public static final java.lang.String MULT_FOLLOWS
Error resource constants- See Also:
- Constant Field Values
-
LANG_ORIENTATION
public static final java.lang.String LANG_ORIENTATION
Error resource constants- See Also:
- Constant Field Values
-
LANG_RIGHTTOLEFT
public static final java.lang.String LANG_RIGHTTOLEFT
Error resource constants- See Also:
- Constant Field Values
-
LANG_LEFTTORIGHT
public static final java.lang.String LANG_LEFTTORIGHT
Error resource constants- See Also:
- Constant Field Values
-
LANG_NUMBERING
public static final java.lang.String LANG_NUMBERING
Error resource constants- See Also:
- Constant Field Values
-
LANG_ADDITIVE
public static final java.lang.String LANG_ADDITIVE
Error resource constants- See Also:
- Constant Field Values
-
LANG_MULT_ADD
public static final java.lang.String LANG_MULT_ADD
Error resource constants- See Also:
- Constant Field Values
-
LANG_MULTIPLIER
public static final java.lang.String LANG_MULTIPLIER
Error resource constants- See Also:
- Constant Field Values
-
LANG_MULTIPLIER_CHAR
public static final java.lang.String LANG_MULTIPLIER_CHAR
Error resource constants- See Also:
- Constant Field Values
-
LANG_NUMBERGROUPS
public static final java.lang.String LANG_NUMBERGROUPS
Error resource constants- See Also:
- Constant Field Values
-
LANG_NUM_TABLES
public static final java.lang.String LANG_NUM_TABLES
Error resource constants- See Also:
- Constant Field Values
-
LANG_ALPHABET
public static final java.lang.String LANG_ALPHABET
Error resource constants- See Also:
- Constant Field Values
-
LANG_TRAD_ALPHABET
public static final java.lang.String LANG_TRAD_ALPHABET
Error resource constants- See Also:
- Constant Field Values
-
-
Method Detail
-
loadResourceBundle
public static final XResourceBundle loadResourceBundle(java.lang.String className, java.util.Locale locale) throws java.util.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:
java.util.MissingResourceException
-
getContents
public java.lang.Object[][] getContents()
Get the association list.- Returns:
- The association list.
-
-