Class ConfigurationLoader


  • public class ConfigurationLoader
    extends java.lang.Object
    Loads configuration properties. As a class so that we can better test configuration dependent services by mocking the loader.
    Author:
    Krzysztof Benedyczak
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Properties getProperties​(java.lang.String location)
      Loads configuration from a given file path.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigurationLoader

        public ConfigurationLoader()
    • Method Detail

      • getProperties

        public java.util.Properties getProperties​(java.lang.String location)
        Loads configuration from a given file path.
        Parameters:
        location -
        Returns: