Class TimeZoneNamesImpl.ZNamesLoader
java.lang.Object
com.ibm.icu.impl.UResource.Sink
com.ibm.icu.impl.TimeZoneNamesImpl.ZNamesLoader
- Enclosing class:
TimeZoneNamesImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static TimeZoneNamesImpl.ZNamesLoaderDoes not load any names, for no-fallback handling.private String[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String[]getNames()(package private) voidloadMetaZone(ICUResourceBundle zoneStrings, String mzID) (package private) voidloadNames(ICUResourceBundle zoneStrings, String key) (package private) voidloadTimeZone(ICUResourceBundle zoneStrings, String tzID) private static TimeZoneNamesImpl.ZNames.NameTypeIndexvoidput(UResource.Key key, UResource.Value value, boolean noFallback) Called once for each bundle (child-parent-...-root).private voidsetNameIfEmpty(UResource.Key key, UResource.Value value)
-
Field Details
-
names
-
DUMMY_LOADER
Does not load any names, for no-fallback handling.
-
-
Constructor Details
-
ZNamesLoader
private ZNamesLoader()
-
-
Method Details
-
loadMetaZone
-
loadTimeZone
-
loadNames
-
nameTypeIndexFromKey
-
setNameIfEmpty
-
put
Description copied from class:UResource.SinkCalled once for each bundle (child-parent-...-root). The value is normally an array or table resource, and implementations of this method normally iterate over the tree of resource items stored there.- Specified by:
putin classUResource.Sink- Parameters:
key- Initially the key string of the enumeration-start resource. Empty if the enumeration starts at the top level of the bundle. Reuse for output values from Array and Table getters.value- Call getArray() or getTable() as appropriate. Then reuse for output values from Array and Table getters.noFallback- true if the bundle has no parent; that is, its top-level table has the nofallback attribute, or it is the root bundle of a locale tree.
-
getNames
-