-
- All Superinterfaces:
NlsFormatter<Void>
public interface NlsMessageFormatter extends NlsFormatter<Void>
This is the interface for a formatter of a message-text. It is a simplified view on something likeMessageFormat
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
format(Void nothing, Locale locale, NlsArguments arguments, Appendable buffer)
This method formats the underlying pattern by filling in the givenarguments
and writing the result into the givenbuffer
.-
Methods inherited from interface io.github.mmm.nls.formatter.NlsFormatter
format
-
-
-
-
Method Detail
-
format
void format(Void nothing, Locale locale, NlsArguments arguments, Appendable buffer)
This method formats the underlying pattern by filling in the givenarguments
and writing the result into the givenbuffer
. This method formats the givenobject
according to the givenlocale
.- Specified by:
format
in interfaceNlsFormatter<Void>
- Parameters:
nothing
- has to benull
. Only for generic compatibility.locale
- is the locale used for localized formatting.arguments
- is theMap
ofarguments
.buffer
- is where to append the formattedobject
.
-
-