public class DefaultLocalizedNames extends DefaultLocalizedNamesBase
likelyRegionCodes, namesMap, sortedRegionCodes| Constructor and Description |
|---|
DefaultLocalizedNames() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
loadNameMap()
Initializes {
DefaultLocalizedNamesBase.namesMap to a map of region code (including
non-country codes) to localized names. |
java.lang.String[] |
loadSortedRegionCodes()
Returns an array of currently valid country codes ordered by the collating
order of the locale.
|
getLikelyRegionCodes, getRegionName, getRegionNameImpl, getSortedRegionCodes, loadLikelyRegionCodes, needsNameMapprotected void loadNameMap()
DefaultLocalizedNamesBaseDefaultLocalizedNamesBase.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.loadNameMap in class DefaultLocalizedNamesBasepublic java.lang.String[] loadSortedRegionCodes()
DefaultLocalizedNamesBaseloadSortedRegionCodes in class DefaultLocalizedNamesBase