Class PropertiesBasedSettings

    • Method Detail

      • createFromDefault

        public static PropertiesBasedSettings createFromDefault()
        Creates the Settings from the default location.
        Returns:
        Initialized Client Settings
      • createFromFile

        public static PropertiesBasedSettings createFromFile​(Path path,
                                                             Charset charset)
        Reads the Properties from a given location.
        Parameters:
        path - Path of the Properties file
        charset - Charset of the Properties firle
        Returns:
        Initialized Client Settings
      • createFromSystemProperties

        public static PropertiesBasedSettings createFromSystemProperties()
        Reads the Properties from the System Properties.
        Returns:
        Initialized Client Settings
      • createFromProperties

        public static PropertiesBasedSettings createFromProperties​(Properties properties)
        Reads the properties from a Properties object.
        Parameters:
        properties - Properties instance
        Returns:
        Initialized Client Settings