Class ConnectionSettings.Loader
- java.lang.Object
-
- ru.dest.library.database.settings.ConnectionSettings.Loader
-
- Enclosing class:
- ConnectionSettings
public static class ConnectionSettings.Loader extends Object
-
-
Constructor Summary
Constructors Constructor Description Loader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionSettingsload(File config, Path root)LoadConnectionSettingsfrom file;static voidrl(String e, ISettingsLoader l)
-
-
-
Method Detail
-
load
public ConnectionSettings load(File config, Path root) throws Exception
LoadConnectionSettingsfrom file;- Parameters:
config- file with configuration settings in .json or another formatroot- path to root directory for file-stored databases such as H2-Local and SQLite;- Returns:
- Loaded
ConnectionSettings; - Throws:
Exception- if exception occupied during loading settings from file;
-
rl
public static void rl(String e, ISettingsLoader l)
-
-