'This method extracts the keys and values from the give string by
splitting them based on the delimiters provided.
:param line:                        The input string.
:param delimiters:                  A list of delimiters to split the
strings on.
:param return_second_part_nonempty: If no delimiter is found and this
is true the contents of the string
will be returned as value
:return:                            The parsed keys and values from a
line.'

def __extract_keys_and_value(self, line, delimiters, return_second_part_nonempty=False):

    (key_part, value) = self.__separate_by_first_occurrence(line, delimiters, True, return_second_part_nonempty)
    keys = list(StringConverter(key_part, list_delimiters=self.key_delimiters).__iter__(remove_backslashes=False))
    return (keys, value)
