Class ConfigurationLoader
java.lang.Object
pl.edu.icm.unity.engine.api.config.ConfigurationLoader
Loads configuration properties. As a class so that we can better test configuration dependent services
by mocking the loader.
- Author:
- Krzysztof Benedyczak
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetProperties
(String location) Loads configuration from a given file path.
-
Constructor Details
-
ConfigurationLoader
public ConfigurationLoader()
-
-
Method Details
-
getProperties
Loads configuration from a given file path.- Parameters:
location
-- Returns:
-