42BV / CSVeed

Light-weight, easy-to-use Java-based CSV utility
Apache License 2.0
100 stars 22 forks source link

Not supported a hierarchy of bins? #64

Open Polyakov-Andrey opened 8 years ago

Polyakov-Andrey commented 8 years ago

How to use annotation to read CSV file into a hierarchy of bins use annotation?

import.csv

firstName;lastName;birthDate;married;numberOfKids;favouriteQuote;email;customerNo;loyaltyPoints;mailingAddress;
name 
public class PersonBean {   
    private String firstName;   
    private String lastName;    
    private Date birthDate;     
    private Boolean married;    
    private Integer numberOfKids;   
    private String favouriteQuote;      
    private String email;        

    // set/get method
}

public class CustomerBean extends PersonBean {      
    private String customerNo;  
    private long loyaltyPoints;     
    private String mailingAddress;

    // set/get method
}
manish-in-java commented 8 years ago

:+1:

ramonnteixeira commented 8 years ago

On #72 it is possible.