Le 30/07/2013 23:24, Gary Gregory a écrit :

> Yeah, that's too clever IMO. I expected the same behavior WRT record
> reading with the only difference being if I let the parser guess or not.

Too clever? I didn't feel like I designed a rocket with this feature
though :) That's an important feature to me and I'd like to preserve it.

If the header is defined in the file I don't want to skip the first
record manually, the parser should take care of it. That also means the
user code can remain the same, whether the header is defined in the code
or in the file.


> The current code now always reads the header line if you set any non-null
> header. If you call withHeader() with no args it is a non-null call with an
> empty String[].

I guess a null header or an empty header is just the same and means the
first record must be used as the header.

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