public class DefaultMediaStorageConfig extends Object implements MediaStorageConfigService.GlobalMediaStorageConfig
| Constructor and Description |
|---|
DefaultMediaStorageConfig(Map<String,Object> globalSettings) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<String> |
getKeys() |
String |
getParameter(String key)
Returns value for media configuration subKey as plain String object.
|
<T> T |
getParameter(String key,
Class<T> requiredType)
Returns value for media configuration subKey as
requiredType class. |
<T> T |
getParameter(String key,
Class<T> requiredType,
T defaultValue)
Returns value for media configuration subKey as
requiredType class or defaultType if
subKey is not present or contain no value. |
String |
toString() |
public Iterable<String> getKeys()
getKeys in interface MediaStorageConfigService.AbstractStorageConfigpublic String getParameter(String key)
MediaStorageConfigService.AbstractStorageConfignull if
subKey is not present or contain no value.getParameter in interface MediaStorageConfigService.AbstractStorageConfigpublic <T> T getParameter(String key, Class<T> requiredType)
MediaStorageConfigService.AbstractStorageConfigrequiredType class. Method may return
null if subKey is not present or contain no value.getParameter in interface MediaStorageConfigService.AbstractStorageConfigpublic <T> T getParameter(String key, Class<T> requiredType, T defaultValue)
MediaStorageConfigService.AbstractStorageConfigrequiredType class or defaultType if
subKey is not present or contain no value.getParameter in interface MediaStorageConfigService.AbstractStorageConfigCopyright © 2017 SAP SE. All Rights Reserved.