Attributes | Name and Description |
---|---|
|
caplin.element.formatter.ThousandsFormatter()
ThousandsFormatter is a flyweight singleton, and therefore this constructor should never be invoked directly. |
Attributes | Name and Description |
---|---|
|
String
format(String sValue, Map mAttributes)
Adds a separator character for each 'thousand' position in a number. |
|
String
toString()
Returns a human-readable string representation of the object, which is useful for debugging. |
►
caplin.element.formatter.ThousandsFormatter()
ThousandsFormatter is a flyweight singleton, and therefore this constructor should never be invoked directly.
Instead, it is instantiated by the RendererFactory, which reads RendererType specifications from XML and instantiates the formatters by name.
►
String
format(String sValue, Map mAttributes)
Adds a separator character for each 'thousand' position in a number. eg 1000000 becomes 1,000,000
String | sValue | The field value |
Map | mAttributes | The renderer attributes |
►
String
toString()
Returns a human-readable string representation of the object, which is useful for debugging.