public class CellTextFormatter extends CellFormatter
Constructor and Description |
---|
CellTextFormatter(String format) |
Modifier and Type | Method and Description |
---|---|
void |
formatValue(StringBuffer toAppendTo,
Object obj)
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 CellTextFormatter(String format)
public void formatValue(StringBuffer toAppendTo, Object obj)
formatValue
in class CellFormatter
toAppendTo
- The buffer to append to.obj
- The value to format.public void simpleValue(StringBuffer toAppendTo, Object value)
For text, this is just printing the text.
simpleValue
in class CellFormatter
toAppendTo
- The buffer to append to.value
- The value to format.Copyright © 2010 - 2020 Adobe. All Rights Reserved