public class MolgenisSimpleSettings extends Object implements MolgenisSettings
| Constructor and Description |
|---|
MolgenisSimpleSettings() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getBooleanProperty(String key) |
boolean |
getBooleanProperty(String key,
boolean defaultValue) |
Integer |
getIntegerProperty(String key) |
Map<String,String> |
getProperties(String keyStartsWith)
Fetches properties with a key starting with a certain value.
|
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
boolean |
propertyExists(String key) |
void |
setProperty(String key,
String value) |
boolean |
updateProperty(String key,
String value) |
public String getProperty(String key)
getProperty in interface MolgenisSettingspublic String getProperty(String key, String defaultValue)
getProperty in interface MolgenisSettingspublic void setProperty(String key, String value)
setProperty in interface MolgenisSettingspublic Boolean getBooleanProperty(String key)
getBooleanProperty in interface MolgenisSettingspublic Integer getIntegerProperty(String key)
getIntegerProperty in interface MolgenisSettingspublic boolean getBooleanProperty(String key, boolean defaultValue)
getBooleanProperty in interface MolgenisSettingspublic boolean updateProperty(String key, String value)
updateProperty in interface MolgenisSettingspublic boolean propertyExists(String key)
propertyExists in interface MolgenisSettingspublic Map<String,String> getProperties(String keyStartsWith)
MolgenisSettingsgetProperties in interface MolgenisSettingskeyStartsWith - String that the key must start with.Copyright © 2015. All Rights Reserved.