DBConfig
DefaultDBConfig
public class AbstractDBConfig extends java.lang.Object implements DBConfig
Constructor | Description |
---|---|
AbstractDBConfig(java.io.File current_path) |
Constructs the DBConfig.
|
Modifier and Type | Method | Description |
---|---|---|
java.io.File |
currentPath() |
Returns the current path set for this configuration.
|
protected java.lang.String |
getDefaultValue(java.lang.String property_key) |
Returns the default value for the configuration property with the given
key.
|
java.lang.String |
getValue(java.lang.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(java.lang.String property_key,
java.lang.String val) |
Sets the configuration value for the key property key.
|
public AbstractDBConfig(java.io.File current_path)
protected java.lang.String getDefaultValue(java.lang.String property_key)
protected void setValue(java.lang.String property_key, java.lang.String val)
public java.io.File currentPath()
DBConfig
currentPath
in interface DBConfig
public java.lang.String getValue(java.lang.String property_key)
DBConfig
This 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()
DBConfig
immutableCopy
in interface DBConfig
Copyright © 2018. All rights reserved.