Class RBNFChinesePostProcessor

java.lang.Object
com.ibm.icu.text.RBNFChinesePostProcessor
All Implemented Interfaces:
RBNFPostProcessor

final class RBNFChinesePostProcessor extends Object implements RBNFPostProcessor
A post-processor for Chinese text.
  • Field Details

    • longForm

      private boolean longForm
    • format

      private int format
    • rulesetNames

      private static final String[] rulesetNames
  • Constructor Details

    • RBNFChinesePostProcessor

      RBNFChinesePostProcessor()
  • Method Details

    • init

      public void init(RuleBasedNumberFormat formatter, String rules)
      Initialization routine for this instance, called once immediately after first construction and never again.
      Specified by:
      init in interface RBNFPostProcessor
      Parameters:
      formatter - the formatter that will be using this post-processor
      rules - the special rules for this post-procesor
    • process

      public void process(StringBuilder buf, NFRuleSet ruleSet)
      Work routine. Post process the output, which was generated by the ruleset with the given name.
      Specified by:
      process in interface RBNFPostProcessor
      Parameters:
      buf - the output of the main RBNF processing
      ruleSet - the rule set originally invoked to generate the output