code: private static String configurationString(Properties properties, String key, String defaultValue)
     {
        if (properties != null)
        {
           return properties.getProperty(key, defaultValue);
        }
  
        return defaultValue;
     }
docs: Get configuration string
  @param properties The properties
  @param key The key
  @param defaultValue The default value
  @return The value