public final class ICUData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ICU_BASE_NAME
The base name of ICU data to be used with ClassLoader.getResourceAsStream(),
ICUResourceBundle.getBundleInstance() etc.
|
static String |
ICU_BRKITR_BASE_NAME
The base name of rbbi data to be used with getBundleInstance API
|
static String |
ICU_BRKITR_NAME
The base name of rbbi data to be used with getData API
|
static String |
ICU_BUNDLE
The data path to be used with Class.getResourceAsStream().
|
static String |
ICU_COLLATION_BASE_NAME
The base name of collation data to be used with getBundleInstance API
|
static String |
ICU_CURR_BASE_NAME |
static String |
ICU_LANG_BASE_NAME |
static String |
ICU_RBNF_BASE_NAME
The base name of rbnf data to be used with getBundleInstance API
|
static String |
ICU_REGION_BASE_NAME |
static String |
ICU_TRANSLIT_BASE_NAME
The base name of transliterator data to be used with getBundleInstance API
|
static String |
ICU_UNIT_BASE_NAME |
static String |
ICU_ZONE_BASE_NAME |
| Constructor and Description |
|---|
ICUData() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
exists(String resourceName) |
static InputStream |
getRequiredStream(Class<?> root,
String resourceName)
Convenience method that calls getStream(root, resourceName, true).
|
static InputStream |
getRequiredStream(ClassLoader loader,
String resourceName) |
static InputStream |
getRequiredStream(String resourceName)
Convenience method that calls getStream(ICUData.class, resourceName, true).
|
static InputStream |
getStream(Class<?> root,
String resourceName)
Convenience override that calls getStream(root, resourceName, false);
Returns null if the resource could not be found.
|
static InputStream |
getStream(ClassLoader loader,
String resourceName) |
static InputStream |
getStream(String resourceName)
Convenience override that calls getStream(ICUData.class, resourceName, false);
Returns null if the resource could not be found.
|
public static final String ICU_BUNDLE
public static final String ICU_BASE_NAME
public static final String ICU_COLLATION_BASE_NAME
public static final String ICU_BRKITR_NAME
public static final String ICU_BRKITR_BASE_NAME
public static final String ICU_RBNF_BASE_NAME
public static final String ICU_TRANSLIT_BASE_NAME
public static final String ICU_LANG_BASE_NAME
public static final String ICU_CURR_BASE_NAME
public static final String ICU_REGION_BASE_NAME
public static final String ICU_ZONE_BASE_NAME
public static final String ICU_UNIT_BASE_NAME
public static boolean exists(String resourceName)
public static InputStream getStream(ClassLoader loader, String resourceName)
public static InputStream getRequiredStream(ClassLoader loader, String resourceName)
public static InputStream getStream(String resourceName)
public static InputStream getRequiredStream(String resourceName)
MissingResourceException - if the resource could not be foundpublic static InputStream getStream(Class<?> root, String resourceName)
public static InputStream getRequiredStream(Class<?> root, String resourceName)
MissingResourceException - if the resource could not be found