public class IrregularGroupFormatter extends NumericGroupFormatter
adjustedPicture| Constructor and Description |
|---|
IrregularGroupFormatter(IntSet groupingPositions,
List<Integer> sep,
UnicodeString adjustedPicture)
Create a formatter for numbers where the grouping separators occur at irregular positions
|
| Modifier and Type | Method and Description |
|---|---|
String |
format(FastStringBuffer value)
Reformat a number to add grouping separators
|
String |
getSeparator()
Get the grouping separator to be used.
|
getAdjustedPicturepublic IrregularGroupFormatter(IntSet groupingPositions, List<Integer> sep, UnicodeString adjustedPicture)
groupingPositions - the positions where the separators are to be insertedsep - array holding the separators to be inserted, as Unicode codepoints, in order starting
with the right-mostadjustedPicture - public String format(FastStringBuffer value)
NumericGroupFormatterformat in class NumericGroupFormattervalue - a buffer holding the number to be reformattedpublic String getSeparator()
getSeparator in class NumericGroupFormatterCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.