View Javadoc
1   package org.csveed.test.model;
2   
3   import java.util.Date;
4   
5   import org.csveed.annotations.CsvDate;
6   import org.csveed.annotations.CsvFile;
7   
8   @CsvFile(useHeader = false)
9   public class BeanWithoutHeader {
10  
11      private String text;
12  
13      private Integer year;
14  
15      private Double number;
16  
17      @CsvDate(format = "yyyy-MM-dd")
18      private Date date;
19  
20      @CsvDate(format = "yyyy-MM")
21      private Date yearMonth;
22  
23      public String getText() {
24          return text;
25      }
26  
27      public void setText(String text) {
28          this.text = text;
29      }
30  
31      public Integer getYear() {
32          return year;
33      }
34  
35      public void setYear(Integer year) {
36          this.year = year;
37      }
38  
39      public Double getNumber() {
40          return number;
41      }
42  
43      public void setNumber(Double number) {
44          this.number = number;
45      }
46  
47      public Date getDate() {
48          return date;
49      }
50  
51      public void setDate(Date date) {
52          this.date = date;
53      }
54  
55      public Date getYearMonth() {
56          return yearMonth;
57      }
58  
59      public void setYearMonth(Date yearMonth) {
60          this.yearMonth = yearMonth;
61      }
62  }