Class DecimalFormatSymbols.DecFmtDataSink

java.lang.Object
com.ibm.icu.impl.UResource.Sink
com.ibm.icu.text.DecimalFormatSymbols.DecFmtDataSink
Enclosing class:
DecimalFormatSymbols

private static final class DecimalFormatSymbols.DecFmtDataSink extends UResource.Sink
Sink for enumerating all of the decimal format symbols (more specifically, anything under the "NumberElements.symbols" tree). More specific bundles (en_GB) are enumerated before their parents (en_001, en, root): Only store a value if it is still missing, that is, it has not been overridden.
  • Field Details

    • numberElements

      private String[] numberElements
  • Constructor Details

    • DecFmtDataSink

      public DecFmtDataSink(String[] numberElements)
  • Method Details

    • put

      public void put(UResource.Key key, UResource.Value value, boolean noFallback)
      Description copied from class: UResource.Sink
      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.
      Specified by:
      put in class UResource.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.