Serializable, Message, MultiformatMessage, MultiFormatStringBuilderFormattable, StringBuilderFormattable@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 | 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 | Description |
|---|---|---|
StringMapMessage |
newInstance(Map<String,String> map) |
Constructs a new instance based on an existing Map.
|
appendMap, asJava, asJson, asString, asString, asXml, clear, containsKey, equals, forEach, forEach, formatTo, formatTo, get, getData, getFormat, getFormats, getFormattedMessage, getFormattedMessage, getIndexedReadOnlyStringMap, getParameters, getThrowable, hashCode, put, putAll, remove, toString, validate, validate, validate, validate, validate, validate, validate, validate, validate, validate, with, with, with, with, with, with, with, with, with, withpublic StringMapMessage()
public StringMapMessage(int initialCapacity)
initialCapacity - the initial capacity.public StringMapMessage newInstance(Map<String,String> map)
newInstance in class MapMessage<StringMapMessage,String>map - The Map.Copyright © 1999-2018. 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.