public class

DefaultLocalizedNames

extends DefaultLocalizedNamesBase
java.lang.Object
   ↳ com.google.gwt.i18n.client.DefaultLocalizedNamesBase
     ↳ com.google.gwt.i18n.client.DefaultLocalizedNames
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Default LocalizedNames implementation.

Summary

[Expand]
Inherited Fields
From class com.google.gwt.i18n.client.DefaultLocalizedNamesBase
Public Constructors
DefaultLocalizedNames()
Public Methods
String[] loadSortedRegionCodes()
Returns an array of currently valid country codes ordered by the collating order of the locale.
Protected Methods
void loadNameMap()
Initializes {namesMap to a map of region code (including non-country codes) to localized names.
[Expand]
Inherited Methods
From class com.google.gwt.i18n.client.DefaultLocalizedNamesBase
From class java.lang.Object
From interface com.google.gwt.i18n.client.LocalizedNames

Public Constructors

public DefaultLocalizedNames ()

Public Methods

public String[] loadSortedRegionCodes ()

Returns an array of currently valid country codes ordered by the collating order of the locale.

Returns
  • an array of ordered country codes

Protected Methods

protected void loadNameMap ()

Initializes {namesMap to a map of region code (including non-country codes) to localized names. Subclasses should generally call the parent implementation and then change specific entries, though if most entries are being changed they can just create their own map.