V - is the generic type of the actual value to format.public class ComposedLocalizableFormatter<V> extends AbstractLocalizableFormatter<V>
LocalizableFormatter that is composed out of other
LocalizableFormatters. See ComposedFormatter for further details.| Modifier and Type | Field and Description |
|---|---|
private LocalizableFormatter<V>[] |
subFormatters |
| Constructor and Description |
|---|
ComposedLocalizableFormatter(LocalizableFormatter<V>... subFormatters)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFormat(V value,
Appendable buffer,
Locale locale) |
doFormat, format, format, format, format, getDefaultLocaleformatNullprivate final LocalizableFormatter<V>[] subFormatters
@SafeVarargs public ComposedLocalizableFormatter(LocalizableFormatter<V>... subFormatters)
subFormatters - are the LocalizableFormatters to delegate to in the given order.protected void doFormat(V value, Appendable buffer, Locale locale) throws IOException
doFormat in class AbstractLocalizableFormatter<V>value - is the value to format (not null).buffer - is the Appendable to append the formatted value to.locale - is the Locale.IOException - if caused by append.AbstractLocalizableFormatter.format(Object, Appendable, Locale)Copyright © 2001–2016 mmm-Team. All rights reserved.