org.apache.logging.log4j.core.config
Class Property

java.lang.Object
  extended by org.apache.logging.log4j.core.config.Property

public final class Property
extends Object

Represents a key/value pair in the configuration.


Method Summary
static Property createProperty(String key, String value)
          Create a Property.
 String getName()
          Return the property name.
 String getValue()
          Return the property value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public String getName()
Return the property name.

Returns:
the property name.

getValue

public String getValue()
Return the property value.

Returns:
the value of the property.

createProperty

public static Property createProperty(String key,
                                      String value)
Create a Property.

Parameters:
key - The key.
value - The value.
Returns:
A Property.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.