Package com.ibm.icu.text
Class RBNFChinesePostProcessor
- java.lang.Object
-
- com.ibm.icu.text.RBNFChinesePostProcessor
-
- All Implemented Interfaces:
RBNFPostProcessor
final class RBNFChinesePostProcessor extends java.lang.Object implements RBNFPostProcessor
A post-processor for Chinese text.
-
-
Field Summary
Fields Modifier and Type Field Description private int
format
private boolean
longForm
private static java.lang.String[]
rulesetNames
-
Constructor Summary
Constructors Constructor Description RBNFChinesePostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(RuleBasedNumberFormat formatter, java.lang.String rules)
Initialization routine for this instance, called once immediately after first construction and never again.void
process(java.lang.StringBuilder buf, NFRuleSet ruleSet)
Work routine.
-
-
-
Method Detail
-
init
public void init(RuleBasedNumberFormat formatter, java.lang.String rules)
Initialization routine for this instance, called once immediately after first construction and never again.- Specified by:
init
in interfaceRBNFPostProcessor
- Parameters:
formatter
- the formatter that will be using this post-processorrules
- the special rules for this post-procesor
-
process
public void process(java.lang.StringBuilder buf, NFRuleSet ruleSet)
Work routine. Post process the output, which was generated by the ruleset with the given name.- Specified by:
process
in interfaceRBNFPostProcessor
- Parameters:
buf
- the output of the main RBNF processingruleSet
- the rule set originally invoked to generate the output
-
-