public interface

LocalizedNames

com.google.gwt.i18n.client.LocalizedNames
Known Indirect Subclasses

Class Overview

Provides an API for obtaining localized names for a locale.

Summary

Public Methods
abstract String[] getLikelyRegionCodes()
abstract String getRegionName(String regionCode)
Get the localized name of a given region in this locale.
abstract String[] getSortedRegionCodes()

Public Methods

public abstract String[] getLikelyRegionCodes ()

Returns
  • a possibly empty array of region codes, ordered by the literate population speaking the language of this locale.

public abstract String getRegionName (String regionCode)

Get the localized name of a given region in this locale.

Returns
  • localized name

public abstract String[] getSortedRegionCodes ()

Returns
  • an array of region codes of currently valid countries, ordered according to the collating order of this locale.