All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.util.ResourceBundle | +----java.text.resources.LocaleData
Locale desiredLocale = new Locale("DA","DK",""); ResourceBundle resource = ResourceBundle.load("java.util.LocaleElements", desiredLocale); // Pass one of the following: "LocaleString", // locale id based on iso codes "LocaleID", // Windows id "ShortLanguage", // iso-3 abbrev lang name "ShortCountry", // iso-3 abbrev country name "Languages", // language names "Countries", // country names "MonthNames", // ARRAY january "MonthAbbreviations", // ARRAY abb january "DayNames", // ARRAY Monday "DayAbbreviations", // ARRAY abb Monday "AmPmMarkers", // ARRAY am marker "Eras", // era strings "NumberPatterns", // ARRAY decimal pattern "CurrencyElements", // ARRAY local currency symbol "DateTimePatterns", // ARRAY full time pattern "DateTimeElements", // ARRAY first day of week "CollationElements", // collation order String myString string = resource.getString(LocaleString); // or String[] myStrings strings = resource.getStringArray(LocaleString);
public LocaleData()
public Object handleGetObject(String key)
public static Locale[] getAvailableLocales(String key)getKeys
public Enumeration getKeys()
protected void init(String data[])
All Packages Class Hierarchy This Package Previous Next Index