/openjdk10/jdk/test/java/util/ResourceBundle/ |
H A D | ResourceBundleTest.java | 257 // try to find TestResource_fr_CH. Should get fr_CH as its locale 260 Locale locale = test.getLocale(); 261 if (!(locale.getLanguage().equals("fr")) || !(locale.getCountry().equals("CH"))) 262 errln("Actual locale for TestResource_fr_CH should have been fr_CH, got " + locale); 264 // try to find TestResource_fr_BE, which doesn't exist. Should get fr as its locale 267 locale = test.getLocale(); 268 if (!(locale.getLanguage().equals("fr")) || !(locale [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/io/ |
H A D | ASCIIReader.java | 80 * @param locale the Locale for which messages are to be reported 83 Locale locale) { 84 this(inputStream, DEFAULT_BUFFER_SIZE, messageFormatter, locale); 94 * @param locale the Locale for which messages are to be reported 97 MessageFormatter messageFormatter, Locale locale) { 105 fLocale = locale; 82 ASCIIReader(InputStream inputStream, MessageFormatter messageFormatter, Locale locale) argument 96 ASCIIReader(InputStream inputStream, int size, MessageFormatter messageFormatter, Locale locale) argument
|
H A D | MalformedByteSequenceException.java | 50 /** locale for error message **/ 76 * @param locale The Locale for which messages are to be reported. 83 Locale locale, String domain, String key, Object[] arguments) { 85 fLocale = locale; 132 // The references to the message formatter and locale 82 MalformedByteSequenceException(MessageFormatter formatter, Locale locale, String domain, String key, Object[] arguments) argument
|
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/istack/internal/localization/ |
H A D | LocalizableMessageFactory.java | 57 * @param locale the requested bundle's locale 60 ResourceBundle getResourceBundle(Locale locale); argument
|
H A D | NullLocalizable.java | 58 public ResourceBundle getResourceBundle(Locale locale) { argument
|
H A D | LocalizableMessage.java | 77 public ResourceBundle getResourceBundle(Locale locale) { argument 81 return _rbSupplier.getResourceBundle(locale);
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/imageio/spi/ |
H A D | IIOServiceProvider.java | 165 * @param locale a {@code Locale} for which the return value 171 public abstract String getDescription(Locale locale); argument
|
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/imageio/spi/ |
H A D | FileImageInputStreamSpi.java | 46 public String getDescription(Locale locale) { argument
|
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/im/spi/ |
H A D | InputMethod.java | 67 * Attempts to set the input locale. If the input method supports the 68 * desired locale, it changes its behavior to support input for the locale 76 * specified a locale or if the previously selected input method's 81 * @param locale locale to input 82 * @return whether the specified locale is supported 83 * @exception NullPointerException if {@code locale} is null 85 public boolean setLocale(Locale locale); argument 88 * Returns the current input locale [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/im/ |
H A D | InputContext.java | 39 * lets a client component select an input method or keyboard layout by locale, 40 * getLocale lets a client component obtain the locale of the current input method 98 * supports the given locale, and returns a value indicating whether such 105 * requested locale, it remains selected.</li> 109 * the requested locale, the current input method or keyboard layout remains 114 * for the requested locale from the user interface, then the most recently 119 * locale is selected in an implementation dependent way.</li> 124 * locale is available, then false is returned. 127 * Not all host operating systems provide API to determine the locale of 129 * select a native input method or keyboard layout by locale 145 selectInputMethod(Locale locale) argument [all...] |
/openjdk10/jdk/test/java/time/test/java/time/temporal/ |
H A D | TestChronoField.java | 124 Locale locale = Locale.US; 125 String name = IsoFields.WEEK_OF_WEEK_BASED_YEAR.getDisplayName(locale); 136 Locale locale = Locale.US; 138 String name = weekOfYearField.getDisplayName(locale);
|
/openjdk10/jdk/test/java/util/PluggableLocale/ |
H A D | ProviderTest.java | 29 import sun.util.locale.provider.*;
|
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/api/ |
H A D | Formattable.java | 45 * to a given locale 47 * @param locale locale in which the object's representation is to be rendered 49 * @return a locale-dependent string representing the object 51 public String toString(Locale locale, Messages messages); argument
|
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/doclet/ |
H A D | Doclet.java | 43 * <li> Next, the tool calls the {@link #init init} method with an appropriate locale 64 * Initializes this doclet with the given locale and error reporter. 65 * This locale will be used by the reporter and the doclet components. 67 * @param locale the locale to be used 70 void init(Locale locale, Reporter reporter); argument
|
/openjdk10/langtools/test/jdk/javadoc/tool/6964914/ |
H A D | TestUserDoclet.java | 128 Locale locale; field in class:TestUserDoclet 129 public void init(Locale locale, Reporter reporter) { argument 130 this.locale = locale;
|
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/ |
H A D | RichDiagnosticFormatter.java | 344 public String localize(Locale locale, String key, Object... args) { argument 345 return formatter.localize(locale, key, args); 349 public String capturedVarId(CapturedType t, Locale locale) { argument 354 public String visitType(Type t, Locale locale) { argument 355 String s = super.visitType(t, locale); 357 s = localize(locale, "compiler.misc.type.null"); 362 public String visitCapturedType(CapturedType t, Locale locale) { argument 364 return localize(locale, 369 return super.visitCapturedType(t, locale); 373 public String visitClassType(ClassType t, Locale locale) { argument 385 className(ClassType t, boolean longform, Locale locale) argument 398 visitTypeVar(TypeVar t, Locale locale) argument 411 visitClassSymbol(ClassSymbol s, Locale locale) argument 426 visitMethodSymbol(MethodSymbol s, Locale locale) argument [all...] |
/openjdk10/jdk/src/java.base/share/classes/sun/util/locale/provider/ |
H A D | LocaleResources.java | 41 package sun.util.locale.provider; 62 * Central accessor to locale-dependent resources for JRE/CLDR provider adapters. 69 private final Locale locale; field in class:LocaleResources 93 LocaleResources(ResourceBundleBasedAdapter adapter, Locale locale) { argument 94 this.locale = locale; 113 biInfo = localeData.getBreakIteratorInfo(locale).getObject(key); 122 return (byte[]) localeData.getBreakIteratorResources(locale).getObject(key); 133 ResourceBundle rb = localeData.getCalendarData(locale); 154 ResourceBundle rb = localeData.getCollationData(locale); [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/res/ |
H A D | XMLMessages.java | 54 * @param locale non-null reference to Locale object. 56 public void setLocale(Locale locale) argument 58 fLocale = locale; 73 * arguments, localized to the given locale. 97 * arguments, localized to the given locale.
|
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/ |
H A D | ComponentOrientation.java | 149 * Returns the orientation that is appropriate for the given locale. 151 * @param locale the specified locale 152 * @return the orientation for the locale 154 public static ComponentOrientation getOrientation(Locale locale) { argument 159 String lang = locale.getLanguage(); 176 * locale, then return the orientation for that locale. 177 * <li>Return the default locale's orientation.
|
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/tiff/ |
H A D | TIFFMetadataFormat.java | 46 private String getResource(String key, Locale locale) { argument 47 if (locale == null) { 48 locale = Locale.getDefault(); 52 ResourceBundle.getBundle(resourceBaseName, locale, 98 public String getElementDescription(String elementName, Locale locale) { argument 103 return getResource(elementName, locale); 165 Locale locale) { 170 return getResource(key, locale); 164 getAttributeDescription(String elementName, String attrName, Locale locale) argument
|
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/resources/ |
H A D | SenderMessages.java | 101 public ResourceBundle getResourceBundle(Locale locale) { argument 102 return ResourceBundle.getBundle(BUNDLE_NAME, locale);
|
H A D | WsdlmodelMessages.java | 90 public ResourceBundle getResourceBundle(Locale locale) { argument 91 return ResourceBundle.getBundle(BUNDLE_NAME, locale);
|
/openjdk10/jaxws/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/ |
H A D | UtilMessages.java | 87 public ResourceBundle getResourceBundle(Locale locale) { argument 88 return ResourceBundle.getBundle(BUNDLE_NAME, locale);
|
/openjdk10/jdk/src/jdk.localedata/share/classes/ |
H A D | module-info.java | 27 * Provides the locale data for locales other than {@linkplain java.util.Locale#US US locale}. 33 provides sun.util.locale.provider.LocaleDataMetaInfo with
|
/openjdk10/jdk/test/java/awt/font/FontNames/ |
H A D | GetLCIDFromLocale.java | 64 private static void test(Locale locale, int expectedLCID) { argument 66 short lcid = (Short)getLCIDMethod.invoke(null, locale);
|