public class AbstractDBConfig extends Object implements DBConfig
| Constructor and Description |
|---|
AbstractDBConfig(File current_path)
Constructs the DBConfig.
|
| Modifier and Type | Method and Description |
|---|---|
File |
currentPath()
Returns the current path set for this configuration.
|
protected String |
getDefaultValue(String property_key)
Returns the default value for the configuration property with the given
key.
|
String |
getValue(String property_key)
Returns the value that was set for the configuration property with the
given name.
|
DBConfig |
immutableCopy()
Makes an immutable copy of this configuration.
|
protected void |
setValue(String property_key,
String val)
Sets the configuration value for the key property key.
|
public AbstractDBConfig(File current_path)
protected String getDefaultValue(String property_key)
protected void setValue(String property_key, String val)
public File currentPath()
DBConfigcurrentPath in interface DBConfigpublic String getValue(String property_key)
DBConfigThis method must always returns a value that the database engine can use provided the 'property_key' is a supported key. If the property key is not supported and the key was not set, null is returned.
public DBConfig immutableCopy()
DBConfigimmutableCopy in interface DBConfigCopyright © 2016. All rights reserved.