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