public class CellTextFormatter extends CellFormatter
format, locale| Constructor and Description |
|---|
CellTextFormatter(java.lang.String format) |
| Modifier and Type | Method and Description |
|---|---|
void |
formatValue(java.lang.StringBuffer toAppendTo,
java.lang.Object obj)
Format a value according the format string.
|
void |
simpleValue(java.lang.StringBuffer toAppendTo,
java.lang.Object value)
Format a value according to the type, in the most basic way.
|
format, simpleFormatpublic void formatValue(java.lang.StringBuffer toAppendTo,
java.lang.Object obj)
formatValue in class CellFormattertoAppendTo - The buffer to append to.obj - The value to format.public void simpleValue(java.lang.StringBuffer toAppendTo,
java.lang.Object value)
For text, this is just printing the text.
simpleValue in class CellFormattertoAppendTo - The buffer to append to.value - The value to format.Copyright 2018 The Apache Software Foundation or its licensors, as applicable.