'Recognize the Fields directive that heads an ELF file'

def RecognizeELFLine(self, line):

    if (not line.startswith('#Fields:')):
        return False
    fields = line.split('    ')
    del fields[0]
    for i in range(0, len(fields)):
        field = fields[i].strip()
        if (field == 'sc-status'):
            self._elf_status = i
        elif (field == 'cs-method'):
            self._elf_method = i
        elif (field == 'cs-uri'):
            self._elf_uri = i
        elif (field == 'cs-uri-stem'):
            self._elf_urifrag1 = i
        elif (field == 'cs-uri-query'):
            self._elf_urifrag2 = i
    output.Log('Recognized    an    Extended    Log    File    Format    file.', 2)
    return True
