public class HybrisConfiguration
extends AbstractConfiguration
org.apache.commons.configuration.Configuration implementation wrapping the hybris
ConfigIntf implementation. Use this as adapter between commons-configuration and hybris.| Modifier and Type | Method and Description |
|---|---|
protected void |
addPropertyDirect(String key,
Object value) |
protected void |
clearPropertyDirect(String key) |
boolean |
containsKey(String key) |
Iterator<String> |
getKeys() |
Object |
getProperty(String key) |
String |
getString(String key) |
String |
getString(String key,
String defaultValue)
Default behavior gets overriden with that one from hybris.
|
boolean |
isEmpty() |
protected void addPropertyDirect(String key, Object value)
AbstractConfiguration#addPropertyDirect(String, Object)public boolean containsKey(String key)
Configuration#containsKey(String)public boolean isEmpty()
Configuration#isEmpty()public String getString(String key, String defaultValue)
org.apache.commons.configuration.interpol.ConfigurationInterpolator which would be created/asked with
every call for an appropriate org.apache.commons.lang.text.StrLookup which itself deals with an
org.apache.commons.lang.text.StrSubstitutor and so on. (only pitfall is that variable replacement as
commons defines it doesn't work anymore)org.apache.commons.configuration.AbstractConfiguration#getString(java.lang.String, java.lang.String)protected void clearPropertyDirect(String key)
Copyright © 2017 SAP SE. All Rights Reserved.