Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header column names to object fields mapping #124

Open
GoogleCodeExporter opened this issue Apr 15, 2015 · 1 comment
Open

Header column names to object fields mapping #124

GoogleCodeExporter opened this issue Apr 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?  If applicable, please provide a
mapping configuration and sample record input to recreate the problem.
1. Found no way to define content structure from header.
2. The configuration is too complex for that or missing from guide


What is the expected output? What do you see instead?
I have a delimeted file. I have header with column names on the first line, but 
I do not know the order of columns. F.e. Today we have Header and columns 
ordered "A" "B" "C" and tomorrow "B" "A" "C". Is there any way to map file 
content fields to file header values, if column order changes we will still 
have the same mapping for our class.

What version of BeanIO are you using? What JDK version?
BeanIO 2.1.0, JDK 1.7


Original issue reported on code.google.com by DmitryKa...@gmail.com on 23 Oct 2014 at 1:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant