public class MessageFactory2Adapter extends Object implements MessageFactory2
Constructor and Description |
---|
MessageFactory2Adapter(MessageFactory wrapped) |
Modifier and Type | Method and Description |
---|---|
MessageFactory |
getOriginal() |
Message |
newMessage(CharSequence charSequence)
Creates a new message for the specified CharSequence.
|
Message |
newMessage(Object message)
Creates a new message based on an Object.
|
Message |
newMessage(String message)
Creates a new message based on a String.
|
Message |
newMessage(String message,
Object... params)
Creates a new parameterized message.
|
Message |
newMessage(String message,
Object p0)
Creates a new parameterized message.
|
Message |
newMessage(String message,
Object p0,
Object p1)
Creates a new parameterized message.
|
Message |
newMessage(String message,
Object p0,
Object p1,
Object p2)
Creates a new parameterized message.
|
Message |
newMessage(String message,
Object p0,
Object p1,
Object p2,
Object p3)
Creates a new parameterized message.
|
Message |
newMessage(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4)
Creates a new parameterized message.
|
Message |
newMessage(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
Creates a new parameterized message.
|
Message |
newMessage(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6)
Creates a new parameterized message.
|
Message |
newMessage(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7)
Creates a new parameterized message.
|
Message |
newMessage(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8)
Creates a new parameterized message.
|
Message |
newMessage(String message,
Object p0,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5,
Object p6,
Object p7,
Object p8,
Object p9)
Creates a new parameterized message.
|
public MessageFactory2Adapter(MessageFactory wrapped)
public MessageFactory getOriginal()
public Message newMessage(CharSequence charSequence)
MessageFactory2
newMessage
in interface MessageFactory2
charSequence
- the (potentially mutable) CharSequencepublic Message newMessage(String message, Object p0)
MessageFactory2
newMessage
in interface MessageFactory2
message
- a message template, the kind of message template depends on the implementation.p0
- a message parameterParameterizedMessageFactory
public Message newMessage(String message, Object p0, Object p1)
MessageFactory2
newMessage
in interface MessageFactory2
message
- a message template, the kind of message template depends on the implementation.p0
- a message parameterp1
- a message parameterParameterizedMessageFactory
public Message newMessage(String message, Object p0, Object p1, Object p2)
MessageFactory2
newMessage
in interface MessageFactory2
message
- a message template, the kind of message template depends on the implementation.p0
- a message parameterp1
- a message parameterp2
- a message parameterParameterizedMessageFactory
public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3)
MessageFactory2
newMessage
in interface MessageFactory2
message
- a message template, the kind of message template depends on the implementation.p0
- a message parameterp1
- a message parameterp2
- a message parameterp3
- a message parameterParameterizedMessageFactory
public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4)
MessageFactory2
newMessage
in interface MessageFactory2
message
- a message template, the kind of message template depends on the implementation.p0
- a message parameterp1
- a message parameterp2
- a message parameterp3
- a message parameterp4
- a message parameterParameterizedMessageFactory
public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5)
MessageFactory2
newMessage
in interface MessageFactory2
message
- a message template, the kind of message template depends on the implementation.p0
- a message parameterp1
- a message parameterp2
- a message parameterp3
- a message parameterp4
- a message parameterp5
- a message parameterParameterizedMessageFactory
public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6)
MessageFactory2
newMessage
in interface MessageFactory2
message
- a message template, the kind of message template depends on the implementation.p0
- a message parameterp1
- a message parameterp2
- a message parameterp3
- a message parameterp4
- a message parameterp5
- a message parameterp6
- a message parameterParameterizedMessageFactory
public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7)
MessageFactory2
newMessage
in interface MessageFactory2
message
- a message template, the kind of message template depends on the implementation.p0
- a message parameterp1
- a message parameterp2
- a message parameterp3
- a message parameterp4
- a message parameterp5
- a message parameterp6
- a message parameterp7
- a message parameterParameterizedMessageFactory
public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8)
MessageFactory2
newMessage
in interface MessageFactory2
message
- a message template, the kind of message template depends on the implementation.p0
- a message parameterp1
- a message parameterp2
- a message parameterp3
- a message parameterp4
- a message parameterp5
- a message parameterp6
- a message parameterp7
- a message parameterp8
- a message parameterParameterizedMessageFactory
public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9)
MessageFactory2
newMessage
in interface MessageFactory2
message
- a message template, the kind of message template depends on the implementation.p0
- a message parameterp1
- a message parameterp2
- a message parameterp3
- a message parameterp4
- a message parameterp5
- a message parameterp6
- a message parameterp7
- a message parameterp8
- a message parameterp9
- a message parameterParameterizedMessageFactory
public Message newMessage(Object message)
MessageFactory
newMessage
in interface MessageFactory
message
- a message objectpublic Message newMessage(String message)
MessageFactory
newMessage
in interface MessageFactory
message
- a message Stringpublic Message newMessage(String message, Object... params)
MessageFactory
newMessage
in interface MessageFactory
message
- a message template, the kind of message template depends on the implementation.params
- the message parametersParameterizedMessageFactory
,
StringFormatterMessageFactory
Copyright © 1999-2021 The 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.