If your CSV's header values change but you still want to match on either, can you? Maybe something like either of these?
@CsvBindByName(column = "user|name") String userName; @CsvBindByName(column = {"user", "name"}) String userName;
ah never mind. Looks like CsvBindAndJoinByName does exactly what I was thinking.
So glad you found it. That's exactly what I was going to suggest.
Log in to post a comment.
ah never mind. Looks like CsvBindAndJoinByName does exactly what I was thinking.
So glad you found it. That's exactly what I was going to suggest.