public class MessageFormatterImpl extends Object implements MessageFormatter
Constructor and Description |
---|
MessageFormatterImpl(String format,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
String |
format(Object... args)
Formats the message.
|
String |
toString()
Returns the underlying format string for this formatter.
|
public MessageFormatterImpl(String format, Locale locale)
public String format(Object... args)
MessageFormatter
Formatter
as is with one exception: Object of
type Throwable
are converted to their Throwable.getMessage()
(or, if that is null, to the name of
the class).format
in interface MessageFormatter
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.