/openjdk9/jdk/test/java/util/logging/bundlesearch/ |
H A D | LoadItUp1.java | 46 public Logger getLogger(String loggerName,String bundleName) { argument 47 return Logger.getLogger(loggerName, bundleName);
|
H A D | ResourceBundleSearchTest.java | 142 // Then call getLogger("myLogger","bundleName") from a different ClassLoader 199 public boolean testGetBundleFromTCCL(String bundleName, argument 203 debug("Looking for " + bundleName + " using TCCL"); 204 LoggingThread lr = new LoggingThread(bundleName, setOnTCCL); 240 public boolean testGetBundleFromSystemClassLoader(String bundleName) { argument 244 bundleName); 247 + bundleName); 251 + bundleName); 275 String bundleName = null; field in class:ResourceBundleSearchTest.LoggingThread 277 public LoggingThread(String bundleName) { argument 281 LoggingThread(String bundleName, ClassLoader setOnTCCL) argument [all...] |
H A D | IndirectlyLoadABundle.java | 124 String bundleName) throws Throwable { 136 if (bundleName != null) { 142 bundleName); 123 getLoggerWithNewCL(URL[] urls, String loggerName, String bundleName) argument
|
/openjdk9/jdk/test/java/util/ResourceBundle/modules/appbasic/src/eubundles/jdk/test/resources/eu/ |
H A D | MyResourcesEU.java | 44 String bundleName = super.toBundleName(baseName, locale); 46 int index = bundleName.lastIndexOf('.'); 47 return bundleName.substring(0, index + 1) + "eu" + bundleName.substring(index); 49 return bundleName;
|
/openjdk9/jdk/test/java/util/ResourceBundle/modules/appbasic/src/asiabundles/jdk/test/resources/asia/ |
H A D | MyResourcesAsia.java | 41 String bundleName = super.toBundleName(baseName, locale); 43 int index = bundleName.lastIndexOf('.'); 44 return bundleName.substring(0, index + 1) + "asia" + bundleName.substring(index); 46 return bundleName;
|
/openjdk9/jdk/test/java/util/ResourceBundle/ |
H A D | Bug4165815Test.java | 66 private static final String bundleName = "/Bug4165815Bundle"; field in class:Bug4165815Test 69 ResourceBundle bundle = ResourceBundle.getBundle(bundleName, new Locale("en", "US"));
|
H A D | KeySetTest.java | 47 static void testKeys(String bundleName, Locale locale) { argument 48 ResourceBundle rb = ResourceBundle.getBundle(bundleName, locale); 71 TestBundle tb = new TestBundle(bundleName, locale);
|
/openjdk9/jdk/src/java.base/share/classes/sun/security/util/ |
H A D | ResourcesMgr.java | 47 private static ResourceBundle getBundle(String bundleName) { argument 54 return bundles.computeIfAbsent(bundleName, ResourceBundle::getBundle);
|
/openjdk9/jdk/test/java/util/ResourceBundle/modules/appbasic2/src/eubundles/jdk/test/resources/eu/ |
H A D | MyResourcesEU.java | 37 String bundleName = baseName.substring(0, index) + ".eu" + baseName.substring(index) 39 return bundleName;
|
/openjdk9/jdk/src/java.base/share/classes/java/util/spi/ |
H A D | AbstractResourceBundleProvider.java | 186 String bundleName = toBundleName(baseName, locale); 192 bundle = loadResourceBundle(module, bundleName); 194 bundle = loadPropertyResourceBundle(module, bundleName); 210 private static ResourceBundle loadResourceBundle(Module module, String bundleName) argument 212 PrivilegedAction<Class<?>> pa = () -> Class.forName(module, bundleName); 227 String bundleName) 230 String resourceName = toResourceName(bundleName, "properties"); 253 private static String toResourceName(String bundleName, String suffix) { argument 254 if (bundleName.contains("://")) { 257 StringBuilder sb = new StringBuilder(bundleName 226 loadPropertyResourceBundle(Module module, String bundleName) argument [all...] |
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/api/ |
H A D | Messages.java | 46 * @param bundleName the name to identify the resource bundle of localized messages. 49 void add(String bundleName) throws MissingResourceException; argument
|
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/dtdparser/ |
H A D | MessageCatalog.java | 140 private String bundleName; field in class:MessageCatalog 166 bundleName = packageMember.getName(); 167 index = bundleName.lastIndexOf('.'); 169 bundleName = ""; 171 bundleName = bundleName.substring(0, index) + "."; 172 bundleName = bundleName + "resources." + bundle; 199 bundle = ResourceBundle.getBundle(bundleName, locale); 201 bundle = ResourceBundle.getBundle(bundleName, Local [all...] |
/openjdk9/jdk/src/jdk.localedata/share/classes/sun/util/resources/provider/ |
H A D | LocaleDataProvider.java | 45 static ResourceBundle loadResourceBundle(String bundleName) { argument 46 Class<?> c = Class.forName(LocaleDataProvider.class.getModule(), bundleName);
|
/openjdk9/jdk/test/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/ |
H A D | ResourceManager.java | 47 String bundleName = demoClass.getPackage().getName() + ".resources." + demoClass.getSimpleName(); 50 bundle = ResourceBundle.getBundle(bundleName); 52 logger.log(Level.SEVERE, "Couldn't load bundle: " + bundleName);
|
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/ |
H A D | JavacMessages.java | 84 * @param bundleName the name to identify the resource bundle of localized messages. 86 public JavacMessages(String bundleName) throws MissingResourceException { argument 87 this(bundleName, null); 91 * @param bundleName the name to identify the resource bundle of localized messages. 93 public JavacMessages(String bundleName, Locale locale) throws MissingResourceException { argument 96 add(bundleName); 105 public void add(String bundleName) throws MissingResourceException { argument 106 add(locale -> ResourceBundle.getBundle(bundleName, locale));
|
/openjdk9/jdk/test/java/util/spi/ResourceBundleControlProvider/com/foo/ |
H A D | UserXMLControl.java | 53 String bundleName = toBundleName(baseName, locale); 54 String resourceName = toResourceName(bundleName, format);
|
/openjdk9/jdk/test/java/util/ResourceBundle/Control/ |
H A D | XMLResourceBundleTest.java | 57 String bundleName = toBundleName(baseName, locale); 58 String resourceName = toResourceName(bundleName, format);
|
/openjdk9/jaxp/src/java.xml/share/classes/javax/xml/catalog/ |
H A D | CatalogMessages.java | 56 static final String bundleName = CatalogMessages.class.getPackage().getName() + ".CatalogMessages"; field in class:CatalogMessages 175 return SecuritySupport.getErrorMessage(locale, bundleName, key, arguments);
|
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | UIDefaults.java | 309 String bundleName = resourceBundles.get(i); 312 if (isDesktopResourceBundle(bundleName)) { 314 b = ResourceBundle.getBundle(bundleName, l, UIDefaults.class.getModule()); 316 b = ResourceBundle.getBundle(bundleName, l, ClassLoader.getSystemClassLoader()); 894 * @param bundleName the base name of the resource bundle to be added 900 public synchronized void addResourceBundle(final String bundleName) { argument 901 if (bundleName == null) { 904 if (isDesktopResourceBundle(bundleName)) { 909 addInternalBundle(bundleName); 916 * @param bundleName th 919 addInternalBundle(final String bundleName) argument [all...] |
/openjdk9/jdk/src/java.base/share/classes/java/util/ |
H A D | ResourceBundle.java | 2458 * String bundleName = toBundleName(baseName, locale); 2459 * String resourceName = toResourceName(bundleName, format); 3114 * if <code>bundleName</code>, <code>locale</code>, 3149 String bundleName = toBundleName(baseName, locale); 3153 Class<?> c = loader.loadClass(bundleName); 3190 final String resourceName = toResourceName0(bundleName, "properties"); 3456 * Converts the given <code>bundleName</code> to the form required 3459 * <code>bundleName</code> with <code>'/'</code> and appending a 3461 * example, if <code>bundleName</code> is 3466 * @param bundleName 3475 toResourceName(String bundleName, String suffix) argument 3481 toResourceName0(String bundleName, String suffix) argument 3696 toPackageName(String bundleName) argument [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/sun/swing/ |
H A D | SwingAccessor.java | 101 void addInternalBundle(UIDefaults uiDefaults, String bundleName); argument
|
/openjdk9/jdk/src/java.logging/share/classes/java/util/logging/ |
H A D | Logger.java | 1362 * @param bundleName name of resource bundle to localize msg, 1371 String bundleName, String msg) { 1378 doLog(lr, bundleName); 1396 * @param bundleName name of resource bundle to localize msg, 1406 String bundleName, String msg, Object param1) { 1415 doLog(lr, bundleName); 1433 * @param bundleName name of resource bundle to localize msg, 1443 String bundleName, String msg, Object params[]) { 1451 doLog(lr, bundleName); 1539 * @param bundleName nam 1370 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg) argument 1405 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1) argument 1442 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object params[]) argument 1548 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown) argument [all...] |
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/file/ |
H A D | JRTIndex.java | 246 final String bundleName = "com.sun.tools.javac.resources.ct"; 247 ctBundle = ResourceBundle.getBundle(bundleName);
|
/openjdk9/jdk/src/java.base/share/classes/sun/util/resources/ |
H A D | Bundles.java | 204 String bundleName = strategy.toBundleName(baseName, targetLocale); 205 Class<?> c = Class.forName(Bundles.class.getModule(), bundleName);
|