Provides information about and access to resource bundles in the
sun.text.resources and sun.util.resources package.
| Method from sun.util.resources.LocaleData Detail: |
public static Locale[] getAvailableLocales() {
return AvailableLocales.localeList.clone();
}
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. |
public static ResourceBundle getCalendarData(Locale locale) {
return getBundle("sun.util.resources.CalendarData", locale);
}
Gets a calendar data resource bundle, using privileges
to allow accessing a sun.* package. |
public static ResourceBundle getCollationData(Locale locale) {
return getBundle("sun.text.resources.CollationData", locale);
}
Gets a collation data resource bundle, using privileges
to allow accessing a sun.* package. |
public static OpenListResourceBundle getCurrencyNames(Locale locale) {
return (OpenListResourceBundle)getBundle("sun.util.resources.CurrencyNames", locale);
}
Gets a currency names resource bundle, using privileges
to allow accessing a sun.* package. |
public static ResourceBundle getDateFormatData(Locale locale) {
return getBundle("sun.text.resources.FormatData", locale);
}
Gets a date format data resource bundle, using privileges
to allow accessing a sun.* package. |
public static OpenListResourceBundle getLocaleNames(Locale locale) {
return (OpenListResourceBundle)getBundle("sun.util.resources.LocaleNames", locale);
}
Gets a locale names resource bundle, using privileges
to allow accessing a sun.* package. |
public static ResourceBundle getNumberFormatData(Locale locale) {
return getBundle("sun.text.resources.FormatData", locale);
}
Gets a number format data resource bundle, using privileges
to allow accessing a sun.* package. |
public static OpenListResourceBundle getTimeZoneNames(Locale locale) {
return (OpenListResourceBundle)getBundle("sun.util.resources.TimeZoneNames", locale);
}
Gets a time zone names resource bundle, using privileges
to allow accessing a sun.* package. |