aicas logo Jamaica 3.4 release 8

sun.util.resources
Class LocaleData

java.lang.Object
  extended by sun.util.resources.LocaleData

public class LocaleData
extends Object

Provides information about and access to resource bundles in the sun.text.resources and sun.util.resources package.


Constructor Summary
LocaleData()
           
 
Method Summary
static Locale[] getAvailableLocales()
          Returns a list of the installed locales.
static ResourceBundle getCalendarData(Locale locale)
          Gets a calendar data resource bundle, using privileges to allow accessing a sun.* package.
static ResourceBundle getCollationData(Locale locale)
          Gets a collation data resource bundle, using privileges to allow accessing a sun.* package.
static OpenListResourceBundle getCurrencyNames(Locale locale)
          Gets a currency names resource bundle, using privileges to allow accessing a sun.* package.
static ResourceBundle getDateFormatData(Locale locale)
          Gets a date format data resource bundle, using privileges to allow accessing a sun.* package.
static OpenListResourceBundle getLocaleNames(Locale locale)
          Gets a locale names resource bundle, using privileges to allow accessing a sun.* package.
static ResourceBundle getNumberFormatData(Locale locale)
          Gets a number format data resource bundle, using privileges to allow accessing a sun.* package.
static OpenListResourceBundle getTimeZoneNames(Locale locale)
          Gets a time zone names resource bundle, using privileges to allow accessing a sun.* package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleData

public LocaleData()
Method Detail

getAvailableLocales

public static Locale[] getAvailableLocales()
Returns a list of the installed locales. Currently, this simply returns the list of locales for which a sun.text.resources.FormatData bundle exists. This bundle family happens to be the one with the broadest locale coverage in the JRE.


getCalendarData

public static ResourceBundle getCalendarData(Locale locale)
Gets a calendar data resource bundle, using privileges to allow accessing a sun.* package.


getCurrencyNames

public static OpenListResourceBundle getCurrencyNames(Locale locale)
Gets a currency names resource bundle, using privileges to allow accessing a sun.* package.


getLocaleNames

public static OpenListResourceBundle getLocaleNames(Locale locale)
Gets a locale names resource bundle, using privileges to allow accessing a sun.* package.


getTimeZoneNames

public static OpenListResourceBundle getTimeZoneNames(Locale locale)
Gets a time zone names resource bundle, using privileges to allow accessing a sun.* package.


getCollationData

public static ResourceBundle getCollationData(Locale locale)
Gets a collation data resource bundle, using privileges to allow accessing a sun.* package.


getDateFormatData

public static ResourceBundle getDateFormatData(Locale locale)
Gets a date format data resource bundle, using privileges to allow accessing a sun.* package.


getNumberFormatData

public static ResourceBundle getNumberFormatData(Locale locale)
Gets a number format data resource bundle, using privileges to allow accessing a sun.* package.


aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.