Searched refs:getCandidateLocales (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/util/
H A DCoreResourceBundleControl-XLocales.java.template99 public List<Locale> getCandidateLocales(String baseName, Locale locale) {
100 List<Locale> candidates = super.getCandidateLocales(baseName, locale);
H A DLocaleServiceProviderPool.java472 // ResourceBundle.Control.getCandidateLocales. The result
473 // returned by getCandidateLocales are already normalized
475 List<Locale> lookupLocales = new Control(){}.getCandidateLocales("", locale);
/openjdk7/jdk/test/java/util/ResourceBundle/Control/
H A DBadControlsTest.java52 public List<Locale> getCandidateLocales(String name, Locale loc) {
56 testControl(control, "getCandidateLocales returns null");
59 public List<Locale> getCandidateLocales(String name, Locale loc) {
63 testControl(control, "getCandidateLocales returns a List containing null");
H A DLoadingStrategiesTest.java83 public List<Locale> getCandidateLocales(String baseName, method in class:LoadingStrategiesTest.ChineseControl
90 return super.getCandidateLocales(baseName, locale);
H A DStressTest.java187 public List<Locale> getCandidateLocales(String baseName, Locale locale) { method in class:StressTest.Worker.TestControl
188 List<Locale> list = super.getCandidateLocales(baseName, locale);
H A DDefaultControlTest.java69 // Test getCandidateLocales(String, Locale)
175 List<Locale> candidates = CONTROL.getCandidateLocales("any", locale);
186 List<Locale> candidates = CONTROL.getCandidateLocales((String) data[0],
188 error("getCandidateLocales(%s, %s) doesn't throw NPE.%n",
/openjdk7/jdk/src/share/classes/sun/util/resources/
H A DLocaleData.java169 public List<Locale> getCandidateLocales(String baseName, Locale locale) { method in class:LocaleData.LocaleDataResourceBundleControl
170 List<Locale> candidates = super.getCandidateLocales(baseName, locale);
/openjdk7/jdk/src/share/classes/java/util/
H A DResourceBundle.java756 * (e.g., <code>control.getCandidateLocales</code> returns null.)
833 * (e.g., <code>control.getCandidateLocales</code> returns null.)
908 * of {@link Control#getCandidateLocales(String, Locale)
909 * getCandidateLocales} for details.</blockquote>
1060 * <li>The {@link ResourceBundle.Control#getCandidateLocales(String,
1061 * Locale) control.getCandidateLocales} method is called with the target
1236 * (e.g., <code>control.getCandidateLocales</code> returns null.)
1291 List<Locale> candidateLocales = control.getCandidateLocales(baseName, targetLocale);
1293 throw new IllegalArgumentException("Invalid Control: getCandidateLocales");
1831 * ResourceBundle.Control#getCandidateLocales(Strin
2300 public List<Locale> getCandidateLocales(String baseName, Locale locale) { method in class:ResourceBundle.Control
[all...]

Completed in 51 milliseconds