/openjdk7/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);
|
/openjdk7/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 | IndirectlyLoadABundle.java | 124 String bundleName) throws Throwable { 136 if (bundleName != null) { 142 bundleName); 123 getLoggerWithNewCL(URL[] urls, String loggerName, String bundleName) argument
|
H A D | ResourceBundleSearchTest.java | 121 // Then call getLogger("myLogger","bundleName") from a different ClassLoader 177 public boolean testGetBundleFromTCCL(String bundleName, argument 181 debug("Looking for " + bundleName + " using TCCL"); 182 LoggingThread lr = new LoggingThread(bundleName, setOnTCCL); 220 public boolean testGetBundleFromSystemClassLoader(String bundleName) { argument 224 bundleName); 227 + bundleName); 231 + bundleName); 255 String bundleName = null; field in class:ResourceBundleSearchTest.LoggingThread 257 public LoggingThread(String bundleName) { argument 261 LoggingThread(String bundleName, ClassLoader setOnTCCL) argument [all...] |
/openjdk7/langtools/src/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
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/ |
H A D | MessageCatalog.java | 141 private String bundleName; field in class:MessageCatalog 167 bundleName = packageMember.getName(); 168 index = bundleName.lastIndexOf('.'); 170 bundleName = ""; 172 bundleName = bundleName.substring(0, index) + "."; 173 bundleName = bundleName + "resources." + bundle; 200 bundle = ResourceBundle.getBundle(bundleName, locale); 202 bundle = ResourceBundle.getBundle(bundleName, Local [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | JavacMessages.java | 85 * @param bundleName the name to identify the resource buundle of localized messages. 87 public JavacMessages(String bundleName) throws MissingResourceException { argument 88 this(bundleName, null); 92 * @param bundleName the name to identify the resource buundle of localized messages. 94 public JavacMessages(String bundleName, Locale locale) throws MissingResourceException { argument 97 add(bundleName); 105 public void add(String bundleName) throws MissingResourceException { argument 106 bundleNames = bundleNames.prepend(bundleName); 119 for (String bundleName : bundleNames) { 121 ResourceBundle rb = ResourceBundle.getBundle(bundleName, local [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | ResourceBundle.java | 1904 * String bundleName = toBundleName(baseName, locale); 1905 * String resourceName = toResourceName(bundleName, format); 2534 * if <code>bundleName</code>, <code>locale</code>, 2562 String bundleName = toBundleName(baseName, locale); 2567 = (Class<? extends ResourceBundle>)loader.loadClass(bundleName); 2580 final String resourceName = toResourceName(bundleName, "properties"); 2844 * Converts the given <code>bundleName</code> to the form required 2847 * <code>bundleName</code> with <code>'/'</code> and appending a 2849 * example, if <code>bundleName</code> is 2854 * @param bundleName 2863 toResourceName(String bundleName, String suffix) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/logging/ |
H A D | Logger.java | 866 * @param bundleName name of resource bundle to localize msg, 871 String bundleName, String msg) { 878 doLog(lr, bundleName); 896 * @param bundleName name of resource bundle to localize msg, 902 String bundleName, String msg, Object param1) { 911 doLog(lr, bundleName); 929 * @param bundleName name of resource bundle to localize msg, 935 String bundleName, String msg, Object params[]) { 943 doLog(lr, bundleName); 966 * @param bundleName nam 870 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg) argument 901 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1) argument 934 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object params[]) argument 971 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown) argument [all...] |