public class NumberFormatRenderer extends AbstractRenderer<Number>
Number
objects with a NumberFormat
.Constructor and Description |
---|
NumberFormatRenderer()
Create an instance using
NumberFormat.getDecimalFormat() . |
NumberFormatRenderer(NumberFormat format)
Create an instance with the given format.
|
Modifier and Type | Method and Description |
---|---|
String |
render(Number object)
Renders
object as plain text. |
render
public NumberFormatRenderer()
NumberFormat.getDecimalFormat()
.public NumberFormatRenderer(NumberFormat format)
Copyright © 2016. All rights reserved.