public class PropertiesImpl extends AbstractExtensionData implements MutableProperties
| Constructor and Description |
|---|
PropertiesImpl()
Constructor.
|
PropertiesImpl(Collection<PropertyData<?>> properties)
Constructor.
|
PropertiesImpl(Properties properties)
Shallow copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addProperties(Collection<PropertyData<?>> properties) |
void |
addProperty(PropertyData<?> property) |
Map<String,PropertyData<?>> |
getProperties() |
List<PropertyData<?>> |
getPropertyList() |
void |
removeProperty(String id) |
void |
replaceProperty(PropertyData<?> property) |
String |
toString() |
getExtensions, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensions, setExtensionspublic PropertiesImpl()
public PropertiesImpl(Collection<PropertyData<?>> properties)
properties - initial collection of propertiespublic PropertiesImpl(Properties properties)
public Map<String,PropertyData<?>> getProperties()
getProperties in interface Propertiespublic List<PropertyData<?>> getPropertyList()
getPropertyList in interface Propertiesprotected void addProperties(Collection<PropertyData<?>> properties)
public void addProperty(PropertyData<?> property)
addProperty in interface MutablePropertiespublic void replaceProperty(PropertyData<?> property)
replaceProperty in interface MutablePropertiespublic void removeProperty(String id)
removeProperty in interface MutablePropertiespublic String toString()
toString in class AbstractExtensionDataCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.