java.io.Serializablepublic class RegularGroupFormatter extends NumericGroupFormatter
adjustedPicture| Constructor | Description |
|---|---|
RegularGroupFormatter(int grpSize,
java.lang.String grpSep,
java.lang.String adjustedPicture) |
Create a RegularGroupFormatter
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
format(FastStringBuffer value) |
Reformat a number to add grouping separators
|
java.lang.String |
getSeparator() |
Get the grouping separator to be used.
|
getAdjustedPicturepublic RegularGroupFormatter(int grpSize,
java.lang.String grpSep,
java.lang.String adjustedPicture)
grpSize - the grouping size. If zero, no grouping separators are insertedgrpSep - the grouping separator (normally a single character, but may be a surrogate pair)public java.lang.String format(FastStringBuffer value)
NumericGroupFormatterformat in class NumericGroupFormattervalue - a buffer holding the number to be reformattedpublic java.lang.String getSeparator()
getSeparator in class NumericGroupFormatter