org.apache.logging.log4j.message
Class LocalizedMessageFactory
java.lang.Object
org.apache.logging.log4j.message.AbstractMessageFactory
org.apache.logging.log4j.message.LocalizedMessageFactory
- All Implemented Interfaces:
- MessageFactory
public class LocalizedMessageFactory
- extends AbstractMessageFactory
Creates LocalizedMessage
instances for
newMessage(String, Object...)
.
- Version:
- $Id: $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalizedMessageFactory
public LocalizedMessageFactory(ResourceBundle bundle)
LocalizedMessageFactory
public LocalizedMessageFactory(String bundleId)
newMessage
public Message newMessage(String message,
Object... params)
- Creates
StringFormattedMessage
instances.
- Specified by:
newMessage
in interface MessageFactory
- Specified by:
newMessage
in class AbstractMessageFactory
- Parameters:
message
- The message format String.params
- The parameters for the message.
- Returns:
- The Message.
- See Also:
MessageFactory.newMessage(String, Object...)
Copyright © 1999-2013 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.