/openjdk7/jdk/test/java/util/ResourceBundle/ |
H A D | Bug4168625Class.java | 47 public ResourceBundle getResourceBundle(String resource, Locale locale) { argument 49 return ResourceBundle.getBundle(resource, locale);
|
H A D | Bug4168625Getter.java | 53 public ResourceBundle getResourceBundle(String resource, Locale locale); argument
|
H A D | Test4318520.java | 25 @summary test that getBundle handles change in default locale correctly 43 private static void test(Locale locale) { argument 44 Locale.setDefault(locale); 48 if (!actualLocale.equals(locale.toString())) { 49 System.out.println("expected: " + locale + ", got: " + actualLocale);
|
H A D | Bug6287579.java | 55 for (Locale locale : locales) { 57 String className = getResourceName(base, locale); 92 static String getResourceName(String base, Locale locale) { argument 93 if (locale.equals(ROOT)) { 97 sb.append('_').append(locale.getLanguage()); 98 if (locale.getCountry().length() > 0 99 || locale.getVariant().length() > 0) { 100 sb.append('_').append(locale.getCountry()); 102 if (locale.getVariant().length() > 0) { 103 sb.append('_').append(locale [all...] |
/openjdk7/jdk/src/share/classes/java/text/spi/ |
H A D | CollatorProvider.java | 49 * Returns a new <code>Collator</code> instance for the specified locale. 50 * @param locale the desired locale. 51 * @return the <code>Collator</code> for the desired locale. 53 * <code>locale</code> is null 54 * @exception IllegalArgumentException if <code>locale</code> isn't 60 public abstract Collator getInstance(Locale locale); argument
|
H A D | DateFormatSymbolsProvider.java | 50 * specified locale. 52 * @param locale the desired locale 53 * @exception NullPointerException if <code>locale</code> is null 54 * @exception IllegalArgumentException if <code>locale</code> isn't 61 public abstract DateFormatSymbols getInstance(Locale locale); argument
|
H A D | DecimalFormatSymbolsProvider.java | 50 * specified locale. 52 * @param locale the desired locale 53 * @exception NullPointerException if <code>locale</code> is null 54 * @exception IllegalArgumentException if <code>locale</code> isn't 61 public abstract DecimalFormatSymbols getInstance(Locale locale); argument
|
H A D | BreakIteratorProvider.java | 51 * for the given locale. 52 * @param locale the desired locale 54 * @exception NullPointerException if <code>locale</code> is null 55 * @exception IllegalArgumentException if <code>locale</code> isn't 61 public abstract BreakIterator getWordInstance(Locale locale); argument 66 * for the given locale. 67 * @param locale the desired locale 69 * @exception NullPointerException if <code>locale</cod 76 getLineInstance(Locale locale) argument 91 getCharacterInstance(Locale locale) argument 106 getSentenceInstance(Locale locale) argument [all...] |
H A D | NumberFormatProvider.java | 50 * monetary values for the specified locale. 52 * @param locale the desired locale. 53 * @exception NullPointerException if <code>locale</code> is null 54 * @exception IllegalArgumentException if <code>locale</code> isn't 61 public abstract NumberFormat getCurrencyInstance(Locale locale); argument 65 * integer values for the specified locale. 73 * @param locale the desired locale 74 * @exception NullPointerException if <code>locale</cod 82 getIntegerInstance(Locale locale) argument 97 getNumberInstance(Locale locale) argument 112 getPercentInstance(Locale locale) argument [all...] |
/openjdk7/jdk/test/java/lang/String/ |
H A D | ToLowerCase.java | 108 static void test(String in, Locale locale, String expected) { argument 109 String result = in.toLowerCase(locale); 111 System.err.println("input: " + in + ", locale: " + locale +
|
H A D | ToUpperCase.java | 96 static void test(String in, Locale locale, String expected) { argument 97 String result = in.toUpperCase(locale); 99 System.err.println("input: " + in + ", locale: " + locale +
|
/openjdk7/jdk/test/java/util/ResourceBundle/Control/ |
H A D | MissingResourceCauseTest.java | 45 private static void callGetBundle(String baseName, Locale locale, argument 49 rb = ResourceBundle.getBundle(baseName, locale);
|
/openjdk7/jdk/src/share/classes/javax/security/auth/callback/ |
H A D | LanguageCallback.java | 46 private Locale locale; field in class:LanguageCallback 58 * @param locale the retrieved <code>Locale</code>. 62 public void setLocale(Locale locale) { argument 63 this.locale = locale; 77 return locale;
|
/openjdk7/jdk/src/share/classes/java/util/spi/ |
H A D | CurrencyNameProvider.java | 54 * Gets the symbol of the given currency code for the specified locale. 56 * locale is the US, while for other locales it may be "US$". If no 62 * @param locale the desired locale 63 * @return the symbol of the given currency code for the specified locale, or null if 64 * the symbol is not available for the locale 66 * <code>locale</code> is null 68 * the form of three upper-case letters, or <code>locale</code> isn't 74 public abstract String getSymbol(String currencyCode, Locale locale); argument 83 * @param locale th 95 getDisplayName(String currencyCode, Locale locale) argument [all...] |
H A D | TimeZoneNameProvider.java | 52 * presentation to the user in the specified locale. The given time 68 * @param locale the desired locale 70 * given locale, or null if it's not available. 72 * or <code>locale</code> isn't one of the locales returned from 75 * @exception NullPointerException if <code>ID</code> or <code>locale</code> 79 public abstract String getDisplayName(String ID, boolean daylight, int style, Locale locale); argument
|
/openjdk7/jdk/src/share/classes/javax/imageio/plugins/bmp/ |
H A D | BMPImageWriteParam.java | 73 * @param locale a <code>Locale</code> to be used to localize 77 public BMPImageWriteParam(Locale locale) { argument 78 super(locale);
|
/openjdk7/jdk/test/java/awt/GraphicsEnvironment/ |
H A D | PreferLocaleFonts.java | 46 public String[] getAvailableFontFamilyNames(Locale locale) { argument
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/ |
H A D | Messages.java | 41 String getMessage(Locale locale, String key, Object... args); argument
|
/openjdk7/jdk/src/share/classes/sun/util/locale/ |
H A D | LocaleSyntaxException.java | 32 package sun.util.locale;
|
/openjdk7/jdk/test/java/util/PluggableLocale/providersrc/ |
H A D | CollatorProviderImpl.java | 54 public Collator getInstance(Locale locale) { argument 56 if (Utils.supportsLocale(avail[i], locale)) { 66 throw new IllegalArgumentException("locale is not supported: "+locale);
|
H A D | CurrencyNameProviderImpl.java | 44 public String getSymbol(String c, Locale locale) { argument 45 if (!Utils.supportsLocale(Arrays.asList(avail), locale)) { 46 throw new IllegalArgumentException("locale is not supported: "+locale); 50 if (Utils.supportsLocale(avail[0], locale)) { 52 } else if (Utils.supportsLocale(avail[1], locale)) { 54 } else if (Utils.supportsLocale(avail[2], locale)) { 56 } else if (Utils.supportsLocale(avail[3], locale)) { 64 public String getDisplayName(String c, Locale locale) { argument 65 if (!Utils.supportsLocale(Arrays.asList(avail), locale)) { [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/ |
H A D | CollatorFactory.java | 36 public Collator getCollator(Locale locale); argument
|
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/ |
H A D | CollatorFactoryBase.java | 46 public Collator getCollator(Locale locale) { argument 47 if (locale == DEFAULT_LOCALE) 50 return Collator.getInstance(locale);
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/ |
H A D | XSMessageFormatter.java | 46 // private objects to cache the locale and resource bundle 52 * locale information. 54 * @param locale The locale of the message. 65 public String formatMessage(Locale locale, String key, Object[] arguments) argument 68 if (fResourceBundle == null || locale != fLocale) { 69 if (locale != null) { 70 fResourceBundle = SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages", locale); 71 // memorize the most-recent locale 72 fLocale = locale; [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/ |
H A D | JAXPValidationMessageFormatter.java | 29 * <p>Used to format JAXP Validation API error messages using a specified locale.</p> 38 * locale information. 40 * @param locale The locale of the message. 51 public static String formatMessage(Locale locale, argument 56 if (locale != null) { 58 SecuritySupport.getResourceBundle("com.sun.org.apache.xerces.internal.impl.msg.JAXPValidationMessages", locale);
|