Home | History | Annotate | Download | only in impl

Lines Matching defs:ROOT

546     // (canonical, alias and root)
553 ClassLoader root) {
559 ICUResourceBundle bundle = (ICUResourceBundle) UResourceBundle.instantiateBundle(baseName, ICU_RESOURCE_INDEX, root, true);
569 if (locstr.equals("root")) {
570 locales[i++] = ULocale.ROOT;
582 ClassLoader root, Set<String> locales) {
585 bundle = (ICUResourceBundle) UResourceBundle.instantiateBundle(baseName, ICU_RESOURCE_INDEX, root, true);
603 final String bn, final ClassLoader root, final Set<String> names) {
611 Enumeration<URL> urls = root.getResources(bn);
641 private static void addLocaleIDsFromListFile(String bn, ClassLoader root, Set<String> locales) {
643 InputStream s = root.getResourceAsStream(bn + FULL_LOCALE_NAMES_LIST);
703 // We need to have the root locale in the set, but not as "root".
704 set.remove("root");
705 set.add(ULocale.ROOT.toString()); // ""
1059 * if there is no bundle for that either, then load the root bundle.
1066 // fall back to root directly (if the locale has main data) or
1070 * if there is not even a base language bundle, then load the root bundle;
1080 * never fall back to the default locale nor to the root locale.
1083 * and the root locale is not generally useful.
1099 ClassLoader root, boolean disableFallback) {
1100 return getBundleInstance(baseName, localeID, root,
1114 ClassLoader root, OpenType openType) {
1122 root, openType);
1124 b = instantiateBundle(baseName, localeID, null, root, openType);
1140 final ClassLoader root, final OpenType openType) {
1159 final String rootLocale = (baseName.indexOf('.')==-1) ? "root" : "";
1161 ICUResourceBundle b = ICUResourceBundle.createBundle(baseName, localeName, root);
1185 root, openType);
1190 // Go to the default locale before root.
1191 b = instantiateBundle(baseName, defaultID, defaultID, root, openType);
1193 // Ultimately go to root.
1194 b = ICUResourceBundle.createBundle(baseName, rootLocale, root);
1205 parent = instantiateBundle(baseName, parentLocaleName, defaultID, root, openType);
1207 parent = instantiateBundle(baseName, localeName.substring(0, i), defaultID, root, openType);
1209 parent = instantiateBundle(baseName, rootLocale, defaultID, root, openType);
1284 * @param root The ClassLoader object root.
1287 public static ICUResourceBundle createBundle(String baseName, String localeID, ClassLoader root) {
1288 ICUResourceBundleReader reader = ICUResourceBundleReader.getReader(baseName, localeID, root);
1293 return getBundle(reader, baseName, localeID, root);
1312 * Returns true if this is the root bundle, or an item in the root bundle.
1315 return wholeBundle.localeID.isEmpty() || wholeBundle.localeID.equals("root");
1360 * Constructor for the root table of a bundle.