public class FormattedMessage extends Objectimplements Message
| Constructor and Description |
|---|
FormattedMessage(String
Constructor with a pattern and a single parameter.
|
FormattedMessage(String
|
FormattedMessage(String
|
FormattedMessage(String
Constructor with a pattern and two parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object
|
String |
getFormat()
Returns the message pattern.
|
String |
getFormattedMessage()
Returns the formatted message.
|
protected Message |
getMessage(String
|
Object |
getParameters()
Returns the message parameters.
|
Throwable |
getThrowable()
Always returns null.
|
int |
hashCode()
|
String |
toString()
|
public FormattedMessage(StringmessagePattern, Object [] arguments, Throwable throwable)
public FormattedMessage(StringmessagePattern, Object arg)
messagePattern - The message pattern.
arg - The parameter.
public StringgetFormattedMessage()
getFormattedMessage in interface
Message
public StringgetFormat()
public Object[] getParameters()
getParameters in interface
Message
public boolean equals(Objecto)
public int hashCode()
public StringtoString()
public ThrowablegetThrowable()
getThrowable in interface
Message