|
Oracle® Globalization Development Kit Java API Reference 10g Release 1(10.1) B10971-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.i18n.util.OraDisplayLocaleInfo
OraDisplayLocaleInfo is a translation utility class that provides the translations of locale and attributes.
Method Summary | |
String |
getDisplayCharacterSet(String charset)
Returns a translated character set name |
String |
getDisplayCountry(Locale locale)
Returns a translated country/territory name |
String |
getDisplayCountry(String country)
Returns a translated country/territory name |
String |
getDisplayCurrency(String currencySymbol)
Returns a translated currency name |
String |
getDisplayLanguage(Locale locale)
Returns a translated language name |
String |
getDisplayLanguage(String language)
Returns a translated language name |
String |
getDisplayLinguisticSort(String linguisticSort)
Returns a translated Linguistic sorting name |
String |
getDisplayLocale(Locale locale)
Returns a translated locale name. |
String |
getDisplayLocale(String oraLanguage,
String oraTerritory)
Returns a translated locale name |
String |
getDisplayTerritory(String territory)
Returns a translated country/territory name |
String |
getDisplayTimeZone(TimeZone tz)
Returns a translated TimeZone name. |
static oracle.i18n.util.OraDisplayLocaleInfo |
getInstance(Locale translocale)
Constructs or reuse an instance of OraDisplayLocaleInfo associated with the translation locale. |
Locale |
getLocale()
Returns the locale associated with this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Locale getLocale()
public static oracle.i18n.util.OraDisplayLocaleInfo getInstance(Locale translocale)
translocale
- a translation locale
public String getDisplayLocale(Locale locale)
locale
- a locale to be translated.
public String getDisplayLocale(String oraLanguage, String oraTerritory)
oraLanguage
- an Oracle language nameoraTerritory
- an Oracle territory name
public String getDisplayLanguage(Locale locale)
locale
- a locale that includes the language to be translated
public String getDisplayLanguage(String language)
language
- a language name
public String getDisplayCountry(Locale locale)
locale
- a locale that includes the country to be translated
public String getDisplayCountry(String country)
country
- a country name to be translated
public String getDisplayTerritory(String territory)
territory
- a country name to be translated
public String getDisplayTimeZone(TimeZone tz)
If the translation is not found, the return value is composed using
getRawOffset() value in the form of (SHH:MM)
where
S
for a sign of the value, HH
represents the
hours of the offset, and MI
represents the minutes of the
offiset.
tz
- a TimeZone to be translated.
public String getDisplayLinguisticSort(String linguisticSort)
linguisticSort
- an Oracle linguistic sorting name to be translated
public String getDisplayCharacterSet(String charset)
charset
- a character set name to be translated
public String getDisplayCurrency(String currencySymbol)
currencySymbol
- a character set symbol ISO 4217
|
Oracle® Globalization Development Kit Java API Reference 10g Release 1(10.1) B10971-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |