示例#1
0
        public void Parse(Stream stream, IDocument document)
        {
            using (var reader = new StreamReader(stream, Encoding.UTF8, true, 4096, true))
            {
                if (!reader.EndOfStream)
                {
                    string text = reader.ReadLine();
                    document.AddColumn(Factory.CreateScalarColumn(text));
                }

                while (!reader.EndOfStream)
                {
                    string text = reader.ReadLine();
                }
            }
        }