Package org.h2.engine
Class SettingsBase
java.lang.Object
org.h2.engine.SettingsBase
- Direct Known Subclasses:
DbSettings
The base class for settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Check if the settings contains the given key.protected boolean
Get the setting for the given key.protected int
Get the setting for the given key.protected String
Get 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
-