@AsynchronouslyFormattable public class StringMapMessage extends MapMessage<StringMapMessage,String>
StringMapMessage
typed to String
-only values. This is like the MapMessage class before 2.9.MapMessage.MapFormat
Constructor and Description |
---|
StringMapMessage()
Constructs a new instance.
|
StringMapMessage(int initialCapacity)
Constructs a new instance.
|
StringMapMessage(Map<String,String> map)
Constructs a new instance based on an existing Map.
|
Modifier and Type | Method and Description |
---|---|
StringMapMessage |
newInstance(Map<String,String> map)
Constructs a new instance based on an existing Map.
|
appendMap, asJava, asJavaUnquoted, asJson, asString, asString, asXml, clear, containsKey, equals, forEach, forEach, formatTo, formatTo, get, getData, getFormat, getFormats, getFormattedMessage, getFormattedMessage, getIndexedReadOnlyStringMap, getParameters, getThrowable, hashCode, put, putAll, remove, toKey, toString, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, with, with, with, with, with, with, with, with, with, with
public StringMapMessage()
public StringMapMessage(int initialCapacity)
initialCapacity
- the initial capacity.public StringMapMessage(Map<String,String> map)
map
- The Map.public StringMapMessage newInstance(Map<String,String> map)
newInstance
in class MapMessage<StringMapMessage,String>
map
- The Map.Copyright © 1999-1969 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.