Package com.ibm.icu.text
Class RBNFChinesePostProcessor
java.lang.Object
com.ibm.icu.text.RBNFChinesePostProcessor
- All Implemented Interfaces:
RBNFPostProcessor
A post-processor for Chinese text.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(RuleBasedNumberFormat formatter, String rules) Initialization routine for this instance, called once immediately after first construction and never again.void
process
(StringBuilder buf, NFRuleSet ruleSet) Work routine.
-
Field Details
-
longForm
private boolean longForm -
format
private int format -
rulesetNames
-
-
Constructor Details
-
RBNFChinesePostProcessor
RBNFChinesePostProcessor()
-
-
Method Details
-
init
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
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
-