Package com.adobe.agl.impl
Class ICUResourceBundle
- java.lang.Object
-
- java.util.ResourceBundle
-
- com.adobe.agl.util.UResourceBundle
-
- com.adobe.agl.impl.ICUResourceBundle
-
public class ICUResourceBundle extends UResourceBundle
-
-
Field Summary
Fields Modifier and Type Field Description static int
FROM_DEFAULT
static int
FROM_FALLBACK
static int
FROM_LOCALE
static int
FROM_ROOT
static java.lang.String
ICU_BASE_NAME
The base name of ICU data to be used with getBundleInstance APIstatic java.lang.String
ICU_BRKITR_BASE_NAME
The base name of rbbi data to be used with getBundleInstance APIstatic java.lang.String
ICU_BRKITR_NAME
The base name of rbbi data to be used with getData APIstatic java.lang.String
ICU_BUNDLE
The data path to be used with getBundleInstance APIstatic java.lang.String
ICU_COLLATION_BASE_NAME
The base name of collation data to be used with getBundleInstance APIstatic java.lang.ClassLoader
ICU_DATA_CLASS_LOADER
The class loader constant to be used with getBundleInstance APIstatic java.lang.String
ICU_RBNF_BASE_NAME
The base name of rbnf data to be used with getBundleInstance APIstatic java.lang.String
ICU_TRANSLIT_BASE_NAME
The base name of transliterator data to be used with getBundleInstance API-
Fields inherited from class com.adobe.agl.util.UResourceBundle
ARRAY, BINARY, INT, INT_VECTOR, NONE, STRING, TABLE
-
-
Constructor Summary
Constructors Constructor Description ICUResourceBundle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Enumeration<java.lang.String>
getKeys()
int
getLoadingStatus()
Returns the loading status of a particular resource.ULocale
getULocale()
Returns the RFC 3066 conformant locale id of this resource bundle.void
setLoadingStatus(int newStatus)
void
setLoadingStatus(java.lang.String requestedLocale)
-
Methods inherited from class com.adobe.agl.util.UResourceBundle
get, getBinary, getBinary, getBundleInstance, getBundleInstance, getBundleInstance, getBundleInstance, getBundleInstance, getBundleInstance, getBundleInstance, getBundleInstance, getInt, getIntVector, getKey, getLocale, getSize, getString, getStringArray, getUInt, getVersion
-
-
-
-
Field Detail
-
ICU_BUNDLE
public static final java.lang.String ICU_BUNDLE
The data path to be used with getBundleInstance API- See Also:
- Constant Field Values
-
ICU_BASE_NAME
public static final java.lang.String ICU_BASE_NAME
The base name of ICU data to be used with getBundleInstance API- See Also:
- Constant Field Values
-
ICU_COLLATION_BASE_NAME
public static final java.lang.String ICU_COLLATION_BASE_NAME
The base name of collation data to be used with getBundleInstance API- See Also:
- Constant Field Values
-
ICU_BRKITR_NAME
public static final java.lang.String ICU_BRKITR_NAME
The base name of rbbi data to be used with getData API- See Also:
- Constant Field Values
-
ICU_BRKITR_BASE_NAME
public static final java.lang.String ICU_BRKITR_BASE_NAME
The base name of rbbi data to be used with getBundleInstance API- See Also:
- Constant Field Values
-
ICU_RBNF_BASE_NAME
public static final java.lang.String ICU_RBNF_BASE_NAME
The base name of rbnf data to be used with getBundleInstance API- See Also:
- Constant Field Values
-
ICU_TRANSLIT_BASE_NAME
public static final java.lang.String ICU_TRANSLIT_BASE_NAME
The base name of transliterator data to be used with getBundleInstance API- See Also:
- Constant Field Values
-
ICU_DATA_CLASS_LOADER
public static final java.lang.ClassLoader ICU_DATA_CLASS_LOADER
The class loader constant to be used with getBundleInstance API
-
FROM_FALLBACK
public static final int FROM_FALLBACK
- See Also:
- Constant Field Values
-
FROM_ROOT
public static final int FROM_ROOT
- See Also:
- Constant Field Values
-
FROM_DEFAULT
public static final int FROM_DEFAULT
- See Also:
- Constant Field Values
-
FROM_LOCALE
public static final int FROM_LOCALE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getULocale
public ULocale getULocale()
Description copied from class:UResourceBundle
Returns the RFC 3066 conformant locale id of this resource bundle. This method can be used after a call to getBundleInstance() to determine whether the resource bundle returned really corresponds to the requested locale or is a fallback.- Specified by:
getULocale
in classUResourceBundle
- Returns:
- the locale of this resource bundle
-
setLoadingStatus
public void setLoadingStatus(int newStatus)
-
getLoadingStatus
public int getLoadingStatus()
Returns the loading status of a particular resource.- Returns:
- FROM_FALLBACK if the resource is fetched from fallback bundle FROM_ROOT if the resource is fetched from root bundle. FROM_DEFAULT if the resource is fetched from the default locale.
-
setLoadingStatus
public void setLoadingStatus(java.lang.String requestedLocale)
-
getKeys
public java.util.Enumeration<java.lang.String> getKeys()
- Specified by:
getKeys
in classjava.util.ResourceBundle
-
-