On 12 March 2012 17:38, Emmanuel Bourg <ebo...@apache.org> wrote:
> Le 12/03/2012 18:31, Benedikt Ritter a écrit :
>
>
>> I'm not sure if I got you right. You have to pass a CSVFormat if you
>> want to construct a CSVLexer(), so we could use the lexer's internal
>> CSVformat.
>
>
> Yes that's what I understood, when I mention the parser it includes the
> lexer as well.
>
> I think the parser should look for any line separator and not only the one
> defined in the format. Otherwise the user will have to know in advance the
> line separator of the input files, and that's not always possible.

Not sure I follow that.
The user must know the field separator and quote character in advance;
surely they need to know the line-separator also?
The only possible ambiguity is whether the file uses CR, LF, or CRLF.

> Emmanuel Bourg
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to