title: How to easily process CSV file to List<MyClass>
body: <p>In my application I use a lot of CSV files which I have to read and build a lists based on them. I'd like to discover an easy way to do this. Do you know any easy framework which does it without using number of config files etc?</p>
  
  <p>For instance, I have got a class Person:</p>
  
  <pre><code>public class Person {
      String name;
      String surname;
  
      double shoeSize;
      boolean sex; // true: male, false:female
  
      public Person() {
      }
  
      public String getName() {
              return name;
      }
  
      public void setName(String name) {
              this.name = name;
      }
  
      public String getSurname() {
              return surname;
      }
  
      public void setSurname(String surname) {
              this.surname = surname;
      }
  
      public double getShoeSize() {
              return shoeSize;
      }
  
      public void setShoeSize(double shoeSize) {
              this.shoeSize = shoeSize;
      }
  
      public boolean isSe) {
              return sex;
      }
  
      public void setSeboolean sex) {
              this.sex = sex;
      }
  </code></pre>
  
  <p>}</p>
  
  <p>For this class, I have prepared CSV file:</p>
  
  <pre><code>name,surname,shoesize,sex
  Tom,Tommy,32,true
  Anna,Anny,27,false
  </code></pre>
  
  <p>How can I do it easily? </p>