V - is the generic type of the actual value to format.public class StaticFormatter<V> extends AbstractFormatter<V>
Formatter that always formats to a static string. This
may be useful for ComposedFormatter.| Constructor and Description |
|---|
StaticFormatter(String string)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFormat(V value,
Appendable buffer) |
format, format, formatNullprivate final String string
doFormat(Object, Appendable)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)Copyright © 2001–2016 mmm-Team. All rights reserved.