def getStringProperty()

in src/main/scala/com.gu.conf/Configuration.scala [73:84]


  def getStringProperty(propertyName: String): Option[String]

  /**
   * Return the value of property, or default if property is not set
   *
   * @param propertyName name of the property
   * @param defaultValue value to return if property not set
   * @return value of the property or defaultValue if property not set
   */
  def getStringProperty(propertyName: String, default: String): String = {
    getStringProperty(propertyName) getOrElse default
  }