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. |
String[] |
loadSortedRegionCodes()
Returns an array of currently valid country codes ordered by the collating
order of the locale.
|
getLikelyRegionCodes, getRegionName, getRegionNameImpl, getSortedRegionCodes, loadLikelyRegionCodes, needsNameMap
protected void loadNameMap()
DefaultLocalizedNamesBase
DefaultLocalizedNamesBase.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 DefaultLocalizedNamesBase
public String[] loadSortedRegionCodes()
DefaultLocalizedNamesBase
loadSortedRegionCodes
in class DefaultLocalizedNamesBase
Copyright © 2018. All rights reserved.