|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.logging.log4j.core.helpers.KeyValuePair
public class KeyValuePair
Key/Value pair configuration item.
Constructor Summary | |
---|---|
KeyValuePair(String key,
String value)
Constructs a key/value pair. |
Method Summary | |
---|---|
static KeyValuePair |
createPair(String key,
String value)
Create a Key/Value pair. |
String |
getKey()
Returns the key. |
String |
getValue()
Returns the value. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeyValuePair(String key, String value)
key
- The key.value
- The value.Method Detail |
---|
public String getKey()
public String getValue()
public String toString()
toString
in class Object
public static KeyValuePair createPair(String key, String value)
key
- The key.value
- The value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.