Methods' 詳細(に述べる)s |
create
::com::sun::星/主役にする::lang::地元の |
create( |
[in] string |
aLanguage, |
| [in] string |
aCountry, |
| [in] string |
aVariant ); |
- Description
- creates a 地元の from language, country, and variant.
NOTE: ISO 639 is not a stable 基準; some of the
language codes it defines (特に iw, ji, and in) have
changed. This 建設者 受託するs both the old codes (iw, ji,
and in) and the new codes (he, yi, and id), but all other API
on XLocale will return only the NEW codes.
公式文書,認める: The Java class 地元の returns the old codes.
|
|
getDefault
::com::sun::星/主役にする::lang::地元の |
getDefault(); |
- Description
- the ありふれた method of getting the 現在の default 地元の.
It is used for the 贈呈 (for menus, dialogs, etc.).
It is, 一般に, 始める,決める once when your applet or 使用/適用 is
initialized, then never reset. (If you do reset the default
地元の, you probably want to reload your GUI, so that the
change is 反映するd in your interface.)
More 前進するd programs 許す 使用者s to use different 地元のs
for different fields, for example, in a spreadsheet.
公式文書,認める that the 初期の setting will match the host system.
|
|
setDefault
無効の |
setDefault( |
[in] ::com::sun::星/主役にする::lang::地元の |
newLocale ); |
- Description
- 始める,決めるs the default 地元の for the whole 環境.
It is 普通は 始める,決める once at the beginning of an 使用/適用,
then never reset. setDefault does not reset the host
地元の.
|
|
getAvailableLocales
sequence< ::com::sun::星/主役にする::lang::地元の > |
getAvailableLocales(); |
- Returns
- a sequence of all 地元のs which are 利用できる in the system.
|
|
getISOCountries
sequence< string > |
getISOCountries(); |
- Returns
- a sequence of all ISO country codes known to the 構成要素.
|
|
getISOLanguages
sequence< string > |
getISOLanguages(); |
- Returns
- a sequence of all ISO language codes known to the 構成要素.
|
|
getLanguagesForCountry
sequence< string > |
getLanguagesForCountry( |
[in] string |
country ); |
- Returns
- a sequence for language codes which are valid within the
given country.
|
|
getISO3Language
- Returns
- the ISO language code for the 明示するd 地元の.
|
|
getISO3Country
- Returns
- the ISO country code for the 明示するd 地元の.
|
|
getDisplayLanguage_Default
string |
getDisplayLanguage_Default( |
[in] ::com::sun::星/主役にする::lang::地元の |
地元の ); |
- Returns
- language code for 陳列する,発揮する of field to 使用者. If the localized
指名する is not 設立する, returns the ISO code. The 願望(する)d 使用者 language
is from the default 地元の.
|
|
getDisplayLanguage
string |
getDisplayLanguage( |
[in] ::com::sun::星/主役にする::lang::地元の |
地元の, |
| [in] ::com::sun::星/主役にする::lang::地元の |
inLocale ); |
- Returns
- language code for 陳列する,発揮する of field to 使用者. If the localized
指名する is not 設立する, returns the ISO codes.
- Parameter inLocale
- 明示するs the 願望(する)d 使用者 language.
- Example
- "English (UK)", "Deutch", "Germany"
|
|
getDisplayCountry_Default
string |
getDisplayCountry_Default( |
[in] ::com::sun::星/主役にする::lang::地元の |
地元の ); |
- Returns
- country code for 陳列する,発揮する of field to 使用者. If the localized
指名する is not 設立する, returns the ISO code. The 願望(する)d 使用者 country
is from the default 地元の.
|
|
getDisplayCountry
string |
getDisplayCountry( |
[in] ::com::sun::星/主役にする::lang::地元の |
地元の, |
| [in] ::com::sun::星/主役にする::lang::地元の |
inLocale ); |
- Returns
- country code for 陳列する,発揮する of field to 使用者. If the localized
指名する is not 設立する, returns the ISO codes.
- Parameter inLocale
- 明示するs the 願望(する)d 使用者 country.
|
|
getDisplayVariant_Default
string |
getDisplayVariant_Default( |
[in] ::com::sun::星/主役にする::lang::地元の |
地元の ); |
- Returns
- variant code for 陳列する,発揮する of field to 使用者. The 願望(する)d 使用者 variant
is from the default 地元の.
|
|
getDisplayVariant
string |
getDisplayVariant( |
[in] ::com::sun::星/主役にする::lang::地元の |
地元の, |
| [in] ::com::sun::星/主役にする::lang::地元の |
inLocale ); |
- Returns
- variant code for 陳列する,発揮する of field to 使用者. If the localized
指名する is not 設立する, returns the ISO codes.
- Parameter inLocale
- 明示するs the 願望(する)d 使用者 variant.
|
|
getDisplayName_Default
string |
getDisplayName_Default( |
[in] ::com::sun::星/主役にする::lang::地元の |
地元の ); |
- Returns
- a string to 陳列する,発揮する the entire 地元の to 使用者. If the localized
指名する is not 設立する, uses the ISO codes. The default 地元の is used
for the 贈呈 language.
|
|
getDisplayName
string |
getDisplayName( |
[in] ::com::sun::星/主役にする::lang::地元の |
地元の, |
| [in] ::com::sun::星/主役にする::lang::地元の |
inLocale ); |
- Returns
- a string to 陳列する,発揮する the entire 地元の to 使用者. If the localized
指名する is not 設立する, uses the ISO codes.
- Parameter inLocale
- 明示するs the 願望(する)d 使用者 地元の.
|
|
equals
boolean |
equals( |
[in] ::com::sun::星/主役にする::lang::地元の |
l1, |
| [in] ::com::sun::星/主役にする::lang::地元の |
l2 ); |
- Returns
- true if the ::com::sun::星/主役にする::lang::地元の l1 is equal to the
other one.
A 地元の is みなすd equal to another 地元の with 同一の
language, country, and variant, and unequal to all other
反対するs.
|
|
Copyright © 2013, The Apache ソフトウェア 創立/基礎, Licensed under the Apache License, 見解/翻訳/版 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache ソフトウェア 創立/基礎. Other 指名するs may be trademarks of their 各々の owners.