Package com.google.gwt.i18n.client
Interface LocalizedNames
- All Known Implementing Classes:
DefaultLocalizedNames
,DefaultLocalizedNamesBase
public interface LocalizedNames
Provides an API for obtaining localized names for a locale.
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getRegionName
(String regionCode) Get the localized name of a given region in this locale.String[]
-
Method Details
-
getLikelyRegionCodes
String[] getLikelyRegionCodes()- Returns:
- a possibly empty array of region codes, ordered by the literate population speaking the language of this locale.
-
getRegionName
Get the localized name of a given region in this locale.- Parameters:
regionCode
-- Returns:
- localized name
-
getSortedRegionCodes
String[] getSortedRegionCodes()- Returns:
- an array of region codes of currently valid countries, ordered according to the collating order of this locale.
-