Package org.h2.engine
Class SettingsBase
java.lang.Object
org.h2.engine.SettingsBase
- Direct Known Subclasses:
DbSettings
The base class for settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanCheck if the settings contains the given key.protected booleanGet the setting for the given key.protected intGet the setting for the given key.protected StringGet the setting for the given key.Get all settings.Get all settings in alphabetical order.
-
Constructor Details
-
SettingsBase
-
-
Method Details
-
get
Get the setting for the given key.- Parameters:
key- the keydefaultValue- the default value- Returns:
- the setting
-
get
Get the setting for the given key.- Parameters:
key- the keydefaultValue- the default value- Returns:
- the setting
-
get
Get the setting for the given key.- Parameters:
key- the keydefaultValue- the default value- Returns:
- the setting
-
containsKey
Check if the settings contains the given key.- Parameters:
k- the key- Returns:
- true if they do
-
getSettings
Get all settings.- Returns:
- the settings
-
getSortedSettings
Get all settings in alphabetical order.- Returns:
- the settings
-