public class SimplePropertiesProvider extends Object implements PropertiesProvider
| Constructor and Description |
|---|
SimplePropertiesProvider() |
SimplePropertiesProvider(CdsProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
bindPropertyClass(String section,
Class<T> clazz) |
<T> T |
getProperty(String key,
Class<T> asClazz,
T defaultValue) |
String |
getProperty(String key,
String defaultValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperty, getProperty, hasPropertypublic SimplePropertiesProvider()
public SimplePropertiesProvider(CdsProperties properties)
public <T> T bindPropertyClass(String section, Class<T> clazz)
bindPropertyClass in interface PropertiesProviderpublic String getProperty(String key, String defaultValue)
getProperty in interface PropertiesProviderpublic <T> T getProperty(String key, Class<T> asClazz, T defaultValue)
getProperty in interface PropertiesProviderCopyright © 2021. All rights reserved.