public class CellNumberFormatter extends CellFormatter
_formatters, format, locale
Constructor and Description |
---|
CellNumberFormatter(String format,
Locale locale)
Creates a new cell number formatter.
|
Modifier and Type | Method and Description |
---|---|
void |
formatValue(StringBuffer toAppendTo,
Object valueObject)
Format a value according the format string.
|
void |
simpleValue(StringBuffer toAppendTo,
Object value)
Format a value according to the type, in the most basic way.
|
format, simpleFormat
public void formatValue(StringBuffer toAppendTo, Object valueObject)
formatValue
in class CellFormatter
toAppendTo
- The buffer to append to.valueObject
- The value to format.public void simpleValue(StringBuffer toAppendTo, Object value)
simpleValue
in class CellFormatter
toAppendTo
- The buffer to append to.value
- The value to format.Copyright © 2020. All rights reserved.