Lines Matching refs:script

103  *   <dt><a name="def_script"/><b>script</b></dt>
105 * <dd>ISO 15924 alpha-4 script code. You can find a full list of
106 * valid script codes in the IANA Language Subtag Registry (search
107 * for "Type: script"). The script field is case insensitive, but
112 * <dd>Well-formed script values have the form
142 * are not covered by any combinations of language, script and
150 * cultural behaviors such as calendar type or number script. In
252 * script or extensions.
321 * variant field will have additional information in it if script or
656 static Locale getInstance(String language, String script, String country,
658 if (language== null || script == null || country == null || variant == null) {
663 extensions = getCompatibilityExtensions(language, script, country, variant);
666 BaseLocale baseloc = BaseLocale.getInstance(language, script, country, variant);
784 String language, region, script, country, variant;
800 script = "";
802 script = AccessController.doPrivileged(
803 new GetPropertyAction("user.script", ""));
809 defaultLocale = getInstance(language, script, country, variant, null);
1011 * Returns the script for this locale, which should
1012 * either be the empty string or an ISO 15924 4-letter script
1016 * @return The script code, or the empty string if none is defined.
1156 * object, consisting of language, country, variant, script,
1159 * language + "_" + country + "_" + (variant + "_#" | "#") + script + "-" + extensions
1162 * Language is always lower case, country is always upper case, script is always title
1166 * <p>When the locale has neither script nor extensions, the result is the same as in
1170 * the empty string, even if the variant, script, or extensions field is present (you
1174 * <p>If script or extensions are present and variant is missing, no underscore is
1386 * unchanged. Language is normalized to lower case, script to
1584 * Returns a name for the the locale's script that is appropriate for display to
1586 * the empty string if this locale doesn't specify a script code.
1588 * @return the display name of the script code for the current default locale
1596 * Returns a name for the locale's script that is appropriate
1599 * this locale doesn't specify a script code.
1601 * @return the display name of the script code for the current default locale
1726 * language (script, country, variant)<br>
1729 * script (country)<br>
1748 * language (script, country, variant)<br>
1751 * script (country)<br>
1755 * language, script, country, and variant fields are all empty,
1785 // The main name is the language, or if there is no language, the script,
1786 // then if no script, the country. If there is no language/script/country
1888 * deemed equal to another Locale with identical language, script, country,
2016 * @serialField script String
2017 * script subtag in title case (See <a href="java/util/Locale.html#getScript()">getScript()</a>)
2031 new ObjectStreamField("script", String.class),
2044 fields.put("script", baseLocale.getScript());
2063 String script = (String)fields.get("script", "");
2067 baseLocale = BaseLocale.getInstance(convertOldISOCodes(language), script, country, variant);
2085 * are exactly "ja", "JP", "JP" or "th", "TH", "TH" and script/extensions
2087 * "ca"/"japanese" (calendar type is "japanese") or "nu"/"thai" (number script
2120 String script,
2126 && script.length() == 0
2132 && script.length() == 0
2190 "user.script.display",
2199 "user.script.format",
2340 * Sets the script. If <code>script</code> is null or the empty string,
2341 * the script in this <code>Builder</code> is removed.
2342 * Otherwise, the script must be <a href="./Locale.html#def_script">well-formed</a> or an
2345 * <p>The typical script value is a four-letter script code as defined by ISO 15924.
2347 * @param script the script
2349 * @throws IllformedLocaleException if <code>script</code> is ill-formed
2351 public Builder setScript(String script) {
2353 localeBuilder.setScript(script);
2530 * Language, script, region and variant are unchanged.