text: public override void ParseLine(DocData docData, string line){int n = 0;int k1 = 0;int k2;while ((k2 = line.IndexOf(WriteLineDocTask.SEP, k1)) >= 0){if (n >= m_header.Length){throw new Exception("input line has invalid format: " + (n + 1) + " fields instead of " + m_header.Length + " :: [" + line + "]");}SetDocDataField(docData, n, line.Substring(k1, k2 - k1));++n;k1 = k2 + 1;}if (n != m_header.Length - 1){throw new Exception("input line has invalid format: " + (n + 1) + " fields instead of " + m_header.Length + " :: [" + line + "]");}SetDocDataField(docData, n, line.Substring(k1));}