Package com.ibm.icu.impl
Class UResource.Sink
- java.lang.Object
-
- com.ibm.icu.impl.UResource.Sink
-
- Direct Known Subclasses:
CalendarUtil.CalendarPreferences
,Collator.KeywordsSink
,CompactData.CompactDataSink
,ConversionRates.ConversionRatesSink
,DateFormatSymbols.CalendarDataSink
,DateIntervalInfo.DateIntervalSink
,DateTimePatternGenerator.AppendItemFormatsSink
,DateTimePatternGenerator.AppendItemNamesSink
,DateTimePatternGenerator.AvailableFormatsSink
,DateTimePatternGenerator.DayPeriodAllowedHoursSink
,DayPeriodRules.DayPeriodRulesCountSink
,DayPeriodRules.DayPeriodRulesDataSink
,DecimalFormatSymbols.DecFmtDataSink
,ICUCurrencyDisplayInfoProvider.ICUCurrencyDisplayInfo.CurrencySink
,ICUResourceBundle.AvailableLocalesSink
,LocaleDisplayNamesImpl.CapitalizationContextSink
,LongNameHandler.AliasSink
,LongNameHandler.InflectedPluralSink
,LongNameHandler.PluralTableSink
,MeasureUnit.CurrencyNumericCodeSink
,MeasureUnit.MeasureUnitSink
,NumberRangeFormatterImpl.NumberRangeDataSink
,RelativeDateFormat.RelDateFmtDataSink
,RelativeDateTimeFormatter.RelDateTimeDataSink
,StandardPluralRanges.PluralRangesDataSink
,StandardPluralRanges.PluralRangeSetsDataSink
,StaticUnicodeSets.ParseDataSink
,TimeUnitFormat.TimeUnitFormatSetupSink
,TimeZoneNamesImpl.ZNamesLoader
,TimeZoneNamesImpl.ZoneStringsLoader
,UnitPreferences.UnitPreferencesSink
,UnitsData.CategoriesSink
,UnitsData.SimpleUnitIdentifiersSink
- Enclosing class:
- UResource
public abstract static class UResource.Sink extends java.lang.Object
Sink for ICU resource bundle contents.
-
-
Constructor Summary
Constructors Constructor Description Sink()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
put(UResource.Key key, UResource.Value value, boolean noFallback)
Called once for each bundle (child-parent-...-root).
-
-
-
Method Detail
-
put
public abstract void put(UResource.Key key, UResource.Value value, boolean noFallback)
Called 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.- 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.
-
-