|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.logging.log4j.message.MessageFormatMessage
public class MessageFormatMessage
Handles messages that consist of a format string conforming to java.text.MessageFormat.
| Constructor Summary | |
|---|---|
MessageFormatMessage(String messagePattern,
Object... parameters)
|
|
| 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. |
Throwable |
getThrowable()
Return the throwable passed to the Message. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MessageFormatMessage(String messagePattern,
Object... parameters)
| Method Detail |
|---|
public String getFormattedMessage()
getFormattedMessage in interface Messagepublic String getFormat()
getFormat in interface Messagepublic Object[] getParameters()
getParameters in interface Message
protected String formatMessage(String msgPattern,
Object... args)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic Throwable getThrowable()
getThrowable in interface Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.