|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.logging.log4j.message.StringFormattedMessage
public class StringFormattedMessage
Handles messages that consist of a format string conforming to java.util.Formatter.
Constructor Summary | |
---|---|
StringFormattedMessage(String messagePattern,
Object... arguments)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
protected String |
formatMessage(String msgPattern,
Object... args)
|
String |
getFormat()
Returns the message pattern. |
String |
getFormattedMessage()
Returns the formatted message. |
Object[] |
getParameters()
Returns the message parameters. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringFormattedMessage(String messagePattern, Object... arguments)
Method Detail |
---|
public String getFormattedMessage()
getFormattedMessage
in interface Message
public String getFormat()
getFormat
in interface Message
public Object[] getParameters()
getParameters
in interface Message
protected String formatMessage(String msgPattern, Object... args)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |