|
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.OraLocaleInfo
OraLocaleInfo is a Oracle locale class that include the language, territory, and collator objects.
Method Summary | |
Object |
clone()
Returns a copy of this instance |
boolean |
equals(Object obj)
Returns true if this OraLocaleInfo object is equals to another |
static String[] |
getAvailableCharacterSets()
Returns a list of the available Oracle character sets |
static String[] |
getAvailableCurrencies()
Returns a list of the available ISO 4217 currencies |
static String[] |
getAvailableLanguages()
Returns a list of the available Oracle languages |
static String[] |
getAvailableLinguisticSorts()
Returns a list of the available Oracle linguistic sorts |
static String[] |
getAvailableLocale()
Returns the availabe Oracle Locale list. |
static String[] |
getAvailableTerritories()
Returns a list of the available Oracle territories |
static Locale[] |
getCommonLocales()
Returns the common Locales list. |
static TimeZone[] |
getCommonTimeZones()
Returns the common TimeZone list. |
String |
getCurrencySymbol()
Returns the currency symbol based on the current OraLocaleInfo |
static String |
getCurrencySymbol(String iso4217code)
Returns the currency symbol based on the given ISO4217 code |
static oracle.i18n.util.OraLocaleInfo |
getDefault()
Returns the default OraLocaleInfo object based on the Java default locale |
static oracle.i18n.util.OraLocaleInfo |
getInstance(Locale locale)
Constructs a Oracle locale from Java Locale object. |
static oracle.i18n.util.OraLocaleInfo |
getInstance(String language,
String territory)
Constructs a Oracle locale from Oracle language, territory. |
static oracle.i18n.util.OraLocaleInfo |
getInstance(String language,
String territory,
String linguisticSort)
Constructs a Oracle locale from Oracle language, territory, and sorting rule. |
String |
getLanguage()
Returns the Oracle language name based on the current OraLocaleInfo |
String |
getLinguisticSort()
Returns the Oracle linguistic sorting name based on the current OraLocaleInfo |
String[] |
getLocalCharacterSets()
Returns the common Oracle character sets based on the language of the current OraLocaleInfo. |
String[] |
getLocalCharacterSets(int platform)
Returns the common Oracle character sets based on the language of the current OraLocaleInfo. |
static String[] |
getLocalCharacterSets(String language)
Returns the common Oracle character sets based on the given language The return strings are in English. |
static String[] |
getLocalCharacterSets(String language,
int platform)
Returns the common Oracle character sets based on the given language The return strings are in English. |
String[] |
getLocalCurrencies()
Returns the common ISO 4217 currency based on the territory of the current OraLocaleInfo. |
static String[] |
getLocalCurrencies(String territory)
Returns the common ISO 4217 currency based on the given territory. |
Locale |
getLocale()
Returns the Java locale corresponding to this object. |
static Locale |
getLocaleFromString(String localestring)
Constructs a Locale object from the ISO locale string. |
String[] |
getLocalLanguages()
Returns the common Oracle languages based on the territory of the current OraLocaleInfo. |
static String[] |
getLocalLanguages(String territory)
Returns the common Oracle languages based on the given territory The return strings are in English. |
String[] |
getLocalLinguisticSorts()
Returns the common linguistic sorts based on the language of the current OraLocaleInfo. |
static String[] |
getLocalLinguisticSorts(String language)
Returns the common linguistic sorts based on the given language. |
String[] |
getLocalTerritories()
Returns the common Oracle territories based on the language of the current OraLocaleInfo. |
static String[] |
getLocalTerritories(String language)
Returns the common Oracle territories based on the given language The return strings are in English. |
TimeZone[] |
getLocalTimeZones()
Returns the common TimeZone list for the territory of the current OraLocaleInfo. |
static TimeZone[] |
getLocalTimeZones(String territory)
Returns the common TimeZone list for the territory of the current OraLocaleInfo. |
String |
getShortLanguage()
Returns Oracle short language name |
int |
getStartDayOfTheWeek()
Returns the start day of the week for the object. |
static int |
getStartDayOfTheWeek(String territory)
Returns the start day of the week for the given Oracle territory for the object. |
static int |
getStartDayOfTheWeek(String language,
String territory)
Returns the start day of the week for the given Oracle language and Oracle territory for the object. |
String |
getTerritory()
Returns the Oracle territory name based on the current OraLocaleInfo |
int |
getWritingDirection()
Returns the Oracle writing direction based on the current OracleLocaleInfo |
int |
hashCode()
Returns a hash value of the OraLocaleInfo. |
String |
toString()
Returns the string representation of OraLocaleInfo |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public static oracle.i18n.util.OraLocaleInfo getInstance(String language, String territory, String linguisticSort)
language
- Oracle languagelinguisticSort
- Oracle linguistic sort rule name
OraLocaleInfo
instancepublic static oracle.i18n.util.OraLocaleInfo getInstance(String language, String territory)
language
- Oracle or ISO language
public static oracle.i18n.util.OraLocaleInfo getInstance(Locale locale)
Locale
object.
locale
- Locale
object
public Locale getLocale()
public String getLanguage()
public String getTerritory()
public String getLinguisticSort()
public int getWritingDirection()
public String getShortLanguage()
public String[] getLocalCharacterSets()
Note the common character sets vary among platforms. This method returns the list for Unix platforms.
public String[] getLocalCharacterSets(int platform)
Note the common character sets vary among platforms.
platform
- either LocaleMapper.UNIX or LocaleMapper.WINDOWS to
specify the platform
public static String[] getLocalCharacterSets(String language)
Note the common character sets vary among platforms. This method returns the list for Unix platforms.
language
- Oracle language
public static String[] getLocalCharacterSets(String language, int platform)
Note the common character sets vary among platforms.
language
- Oracle languageplatform
- either LocaleMapper.UNIX or LocaleMapper.WINDOWS to
specify the platform
public static String[] getLocalLinguisticSorts(String language)
language
- Oracle language
public String[] getLocalLinguisticSorts()
public static String[] getLocalCurrencies(String territory)
territory
- Oracle territory
public String[] getLocalCurrencies()
public static String getCurrencySymbol(String iso4217code)
iso4217code
- ISO 4217 currency code
public String getCurrencySymbol()
public String[] getLocalTerritories()
public static String[] getLocalTerritories(String language)
language
- Oracle language
public String[] getLocalLanguages()
public static String[] getLocalLanguages(String territory)
territory
- Oracle territory
public static TimeZone[] getLocalTimeZones(String territory)
public TimeZone[] getLocalTimeZones()
public static String[] getAvailableLocale()
public static TimeZone[] getCommonTimeZones()
public static Locale[] getCommonLocales()
public static String[] getAvailableLanguages()
public static String[] getAvailableTerritories()
public static String[] getAvailableCharacterSets()
public static String[] getAvailableCurrencies()
public static String[] getAvailableLinguisticSorts()
public Object clone()
clone
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- a target object to compare
public static oracle.i18n.util.OraLocaleInfo getDefault()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public static Locale getLocaleFromString(String localestring)
Either a dash (U+002d) or a underbar (U+005f) can be used to connect ISO 639 and ISO 3166 elements.
localestring
- the string representing a ISO locale. For example,
ja-JP
represents Japanese language used in Japan. The
connector of ISO 639 and ISO 3166 can be either -
or
_
.
Locale
object.public int getStartDayOfTheWeek()
public static int getStartDayOfTheWeek(String territory)
territory
- the given Oracle territory name.
public static int getStartDayOfTheWeek(String language, String territory)
language
- the given Oracle language name.territory
- the given Oracle territory name.
|
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 |