INTERNAL API
INTERNAL API
Utility method to support automatic wrapping of a String value in a java.util.List[String]
This method will return a java.util.List[String] if the passed key is a java.util.List[String] or if it's String, in which case it returns a single element java.util.List[String].
- a Config instance
- the key to lookup
a java.util.List[String] containing one or more values for the passed key if key it is found, empty list otherwise.
ConfigException.WrongType
in case value is neither a String nor a java.util.List[String]