Ejemplo n.º 1
0
        public CsvStream(TextReader inStream, TextWriter outStream, char separatorChar, bool ignoreTrailingSeparatorChar)
        {
            InStream      = inStream;
            _outStream    = outStream;
            SeparatorChar = separatorChar;
            IgnoreTrailingSeparatorChar = ignoreTrailingSeparatorChar;
            _specialChars = ("\"\x0A\x0D" + separatorChar).ToCharArray();
            LineNbr       = 1;

            _buffer      = new CsvStreamBuffer(this);
            _line        = new CsvStreamLine(this, _buffer);
            _buffer.Line = _line;
        }
Ejemplo n.º 2
0
        public CsvStream(TextReader inStream, TextWriter outStream, char separatorChar, bool ignoreTrailingSeparatorChar)
        {
            this.inStream = inStream;
            this.outStream = outStream;
            this.separatorChar = separatorChar;
            this.ignoreTrailingSeparatorChar = ignoreTrailingSeparatorChar;
            this.specialChars = ("\"\x0A\x0D" + separatorChar.ToString()).ToCharArray();
            this.lineNbr = 1;

            this.buffer = new CsvStreamBuffer(this);
            this.line = new CsvStreamLine(this, buffer);
            this.buffer.Line = this.line;
        }
Ejemplo n.º 3
0
        public CsvStream(TextReader inStream, TextWriter outStream, char separatorChar, bool ignoreTrailingSeparatorChar)
        {
            this.inStream      = inStream;
            this.outStream     = outStream;
            this.separatorChar = separatorChar;
            this.ignoreTrailingSeparatorChar = ignoreTrailingSeparatorChar;
            this.specialChars = ("\"\x0A\x0D" + separatorChar.ToString()).ToCharArray();
            this.lineNbr      = 1;

            this.buffer      = new CsvStreamBuffer(this);
            this.line        = new CsvStreamLine(this, buffer);
            this.buffer.Line = this.line;
        }
Ejemplo n.º 4
0
 public CsvStreamLine(CsvStream stream, CsvStreamBuffer buffer)
 {
     this.stream = stream;
     this.buffer = buffer;
 }
Ejemplo n.º 5
0
 public CsvStreamLine(CsvStream stream, CsvStreamBuffer buffer)
 {
     this.stream = stream;
     this.buffer = buffer;
 }
Ejemplo n.º 6
0
 public CsvStreamLine(CsvStream stream, CsvStreamBuffer buffer)
 {
     _stream = stream;
     _buffer = buffer;
 }