getPropertyWithDefault abstract method

String getPropertyWithDefault(
  1. String key,
  2. String value
)

Get a property by key. If the property is not set, the given default value is returned. @param key The property key. @param value The default value to use if the property does not exist. @return The property value or the default value. @see #setProperty

Implementation

String getPropertyWithDefault(String key, String value);