public class PropertiesPropertySource extends Object implements PropertySource
PropertySource implementation for use with Properties.PropertySource.Editor| Constructor and Description |
|---|
PropertiesPropertySource(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
PropertySource.Editor |
getEditor() |
Set<String> |
getKeysStartingWith(String prefix) |
String |
getValue(String key,
String defaultValue) |
void |
reloadIfUpdated() |
public PropertiesPropertySource(Properties properties)
public void reloadIfUpdated()
reloadIfUpdated in interface PropertySourcepublic Set<String> getKeysStartingWith(String prefix)
getKeysStartingWith in interface PropertySourcepublic String getValue(String key, String defaultValue)
getValue in interface PropertySourcepublic PropertySource.Editor getEditor()
getEditor in interface PropertySourceCopyright © 2018. All Rights Reserved.