getPropertyAsListWithDefault abstract method

StringSeq getPropertyAsListWithDefault(
  1. String key,
  2. StringSeq value
)

Get a property as a list of strings. The strings must be separated by whitespace or comma. If the property is not set, the default list is returned. The strings in the list can contain whitespace and commas if they are enclosed in single or double quotes. If quotes are mismatched, the default list is returned. Within single quotes or double quotes, you can escape the quote in question with , e.g. O'Reilly can be written as O'Reilly, "O'Reilly" or 'O'Reilly'. @param key The property key. @param value The default value to use if the property is not set. @return The property value interpreted as list of strings, or the default value. @see #setProperty

Implementation

StringSeq getPropertyAsListWithDefault(String key, StringSeq value);