ConfigParser.getListStrict

Strict method to get a multi-line value. If the requested key cannot be found, an exception is thrown.

Retrieves the value list of a configuration key with a multi-line value. If the value is a single line, the list has one element.

class ConfigParser
T[]
getListStrict
(
T = istring
)

Parameters

category cstring

category to get key from

key cstring

key whose value is to be got

Return Value

Type: T[]

list of values

Throws

if the specified key does not exist

Meta