public abstract class BaseSettings extends Object implements Settings
Settings.Config, Settings.OverrideClass, Settings.Property
Modifier and Type | Field and Description |
---|---|
protected Settings |
parentSettings |
Constructor and Description |
---|
BaseSettings() |
BaseSettings(Settings parentSettings) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
doGetValue(String key) |
protected abstract String[] |
doGetValues(String key) |
ModifiableSettings |
getModifiableSettings() |
Settings |
getParentSettings() |
String |
getValue(String key,
String defaultValue) |
String[] |
getValues(String key,
String[] defaultValue) |
protected Settings parentSettings
public BaseSettings()
public BaseSettings(Settings parentSettings)
public ModifiableSettings getModifiableSettings()
getModifiableSettings
in interface Settings
public Settings getParentSettings()
getParentSettings
in interface Settings
public String getValue(String key, String defaultValue)
public String[] getValues(String key, String[] defaultValue)
protected abstract String doGetValue(String key)
protected abstract String[] doGetValues(String key)