def METHOD_NAME(self, line):
    if line.startswith('Arena'):
        self._header['ARId'] = line.strip(',')
        return 0
    elif line.startswith('Results from time'):
        self._period = [True, line.strip(',')]
        return 0
    elif line.startswith('Sample Id'):
        if self._period[0]:  # If there is a period, we should save it
            self._period[0] = False
            self._header[self._period[1]] = self._period[2:]
        self._end_header = True
        self._columns = line.split(',')
    elif self._period[0]:  # Is a date
        date = self.csvDate2BikaDate(line.strip(','))
        self._period.append(date)
        return 0
    else:
        self.err('Unexpected header format', numline=self._numline)
        return -1