Searched refs:newBundle (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/test/java/util/ResourceBundle/Control/
H A DPackagePrivateTest.java59 public ResourceBundle newBundle(String baseName,
H A DDefaultControlTest.java27 * functionality of newBundle, getTimeToLive, and needsReload is
75 // Test newBundle(String, Locale, String, ClassLoader, boolean)
228 rb = CONTROL.newBundle("StressOut", Locale.JAPANESE,
232 error("newBundle: #%d got %s, expected Japan%n", testNo, s);
236 rb = CONTROL.newBundle("TestResourceRB", new Locale(""),
240 error("newBundle: #%d got %s, expected %s%n", testNo, s, CLAZZ);
243 error("newBundle: #%d threw %s%n", testNo, e);
252 rb = CONTROL.newBundle("MalformedDataRB", Locale.ENGLISH,
254 error("newBundle: doesn't throw IllegalArgumentException with malformed data.");
257 error("newBundle
[all...]
H A DExpirationTest.java151 public ResourceBundle newBundle(String name, Locale loc, method in class:ExpirationTest.TestControl
154 ResourceBundle bundle = super.newBundle(name, loc, fmt, cl, reload);
156 System.out.println("newBundle: " + (reload ? "**re" : "")
H A DXMLResourceBundleTest.java45 public ResourceBundle newBundle(String baseName, Locale locale,
/openjdk7/jdk/src/share/classes/java/util/
H A DResourceBundle.java1065 * <li>The {@link ResourceBundle.Control#newBundle(String, Locale,
1066 * String, ClassLoader, boolean) control.newBundle} method is called to
1070 * candidate locales and formats until the <code>newBundle</code> method
1077 * <code>control.newBundle</code>.
1150 * Control#newBundle(String, Locale, String, ClassLoader, boolean)
1151 * control.newBundle} method. If the time-to-live period of the
1157 * <code>control.newBundle</code> to reload the resource bundle. If
1158 * <code>control.newBundle</code> returns <code>null</code>, the factory
1436 bundle = control.newBundle(cacheKey.getName(), targetLocale, format,
1891 * public ResourceBundle newBundle(Strin
2559 public ResourceBundle newBundle(String baseName, Locale locale, String format, method in class:ResourceBundle.Control
[all...]

Completed in 52 milliseconds