Package com.adobe.agl.impl
Class ICUResourceBundle
java.lang.Object
java.util.ResourceBundle
com.adobe.agl.util.UResourceBundle
com.adobe.agl.impl.ICUResourceBundle
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final StringThe base name of ICU data to be used with getBundleInstance APIstatic final StringThe base name of rbbi data to be used with getBundleInstance APIstatic final StringThe base name of rbbi data to be used with getData APIstatic final StringThe data path to be used with getBundleInstance APIstatic final StringThe base name of collation data to be used with getBundleInstance APIstatic final ClassLoaderThe class loader constant to be used with getBundleInstance APIstatic final StringThe base name of rbnf data to be used with getBundleInstance APIstatic final StringThe base name of transliterator data to be used with getBundleInstance APIFields inherited from class com.adobe.agl.util.UResourceBundle
ARRAY, BINARY, INT, INT_VECTOR, NONE, STRING, TABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKeys()intReturns the loading status of a particular resource.Returns the RFC 3066 conformant locale id of this resource bundle.voidsetLoadingStatus(int newStatus) voidsetLoadingStatus(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, getVersionMethods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getObject, getString, getStringArray, keySet
-
Field Details
-
ICU_BUNDLE
The data path to be used with getBundleInstance API- See Also:
-
ICU_BASE_NAME
The base name of ICU data to be used with getBundleInstance API- See Also:
-
ICU_COLLATION_BASE_NAME
The base name of collation data to be used with getBundleInstance API- See Also:
-
ICU_BRKITR_NAME
The base name of rbbi data to be used with getData API- See Also:
-
ICU_BRKITR_BASE_NAME
The base name of rbbi data to be used with getBundleInstance API- See Also:
-
ICU_RBNF_BASE_NAME
The base name of rbnf data to be used with getBundleInstance API- See Also:
-
ICU_TRANSLIT_BASE_NAME
The base name of transliterator data to be used with getBundleInstance API- See Also:
-
ICU_DATA_CLASS_LOADER
The class loader constant to be used with getBundleInstance API -
FROM_FALLBACK
public static final int FROM_FALLBACK- See Also:
-
FROM_ROOT
public static final int FROM_ROOT- See Also:
-
FROM_DEFAULT
public static final int FROM_DEFAULT- See Also:
-
FROM_LOCALE
public static final int FROM_LOCALE- See Also:
-
-
Constructor Details
-
ICUResourceBundle
public ICUResourceBundle()
-
-
Method Details
-
getULocale
Description copied from class:UResourceBundleReturns 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:
getULocalein 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
-
getKeys
- Specified by:
getKeysin classResourceBundle
-