public class MessageFormatterImpl extends java.lang.Object implements MessageFormatter
| Constructor and Description |
|---|
MessageFormatterImpl(java.lang.String format,
java.util.Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(java.lang.Object... args)
Formats the message.
|
java.lang.String |
toString()
Returns the underlying format string for this formatter.
|
public MessageFormatterImpl(java.lang.String format, java.util.Locale locale)
public java.lang.String format(java.lang.Object... args)
MessageFormatterFormatter 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 MessageFormatterpublic java.lang.String toString()
toString in class java.lang.Object${project.version} - Copyright © 2003-2015 The Apache Software Foundation.