org.apache.any23.configuration
Class DefaultModifiableConfiguration
java.lang.Object
org.apache.any23.configuration.DefaultConfiguration
org.apache.any23.configuration.DefaultModifiableConfiguration
- All Implemented Interfaces:
- Configuration, ModifiableConfiguration
public class DefaultModifiableConfiguration
- extends DefaultConfiguration
- implements ModifiableConfiguration
Default implementation of ModifiableConfiguration
.
- Author:
- Michele Mostarda (mostarda@fbk.eu)
Method Summary |
String |
setProperty(String propertyName,
String propertyValue)
Sets a new value propertyValue for
property which name propertyName . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultModifiableConfiguration
protected DefaultModifiableConfiguration(Properties properties)
setProperty
public String setProperty(String propertyName,
String propertyValue)
- Description copied from interface:
ModifiableConfiguration
- Sets a new value
propertyValue
for
property which name propertyName
.
- Specified by:
setProperty
in interface ModifiableConfiguration
- Parameters:
propertyName
- name of property.propertyValue
- value of property.
- Returns:
- the old property value.
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.