V - is the generic type of the actual value to format.public class FormatterToString<V> extends AbstractFormatter<V>
Formatter that simply delegates to
Object.toString().| Modifier and Type | Field and Description |
|---|---|
private static FormatterToString |
INSTANCE |
| Constructor and Description |
|---|
FormatterToString()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFormat(V value,
Appendable buffer) |
static <V> FormatterToString<V> |
getInstance() |
format, format, formatNullprivate static final FormatterToString INSTANCE
protected void doFormat(V value, Appendable buffer) throws IOException
doFormat in class AbstractFormatter<V>value - is the value to format (not null).buffer - is the Appendable to append the formatted value to.IOException - if caused by append.AbstractFormatter.format(Object, Appendable)public static <V> FormatterToString<V> getInstance()
V - is the generic type of the actual value to format.Copyright © 2001–2016 mmm-Team. All rights reserved.