|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.logging.log4j.message.SimpleMessage
public class SimpleMessage
The simplest possible implementation of Message. It just returns the String given as the constructor argument.
| Constructor Summary | |
|---|---|
SimpleMessage()
Basic constructor. |
|
SimpleMessage(String message)
Constructor that includes the message. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getFormattedMessage()
Return the message. |
String |
getMessageFormat()
Return the message. |
Object[] |
getParameters()
Returns null since there are no parameters. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleMessage()
public SimpleMessage(String message)
message - The String message.| Method Detail |
|---|
public String getFormattedMessage()
getFormattedMessage in interface Messagepublic String getMessageFormat()
getMessageFormat in interface Messagepublic Object[] getParameters()
getParameters in interface Messagepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||