1
2
3
4
5
6
7
8
9
10
11 package org.csveed.test.model;
12
13 import java.util.Date;
14
15 import org.csveed.annotations.CsvDate;
16 import org.csveed.annotations.CsvFile;
17
18
19
20
21 @CsvFile(useHeader = false)
22 public class BeanWithoutHeader {
23
24
25 private String text;
26
27
28 private Integer year;
29
30
31 private Double number;
32
33
34 @CsvDate(format = "yyyy-MM-dd")
35 private Date date;
36
37
38 @CsvDate(format = "yyyy-MM")
39 private Date yearMonth;
40
41
42
43
44
45
46 public String getText() {
47 return text;
48 }
49
50
51
52
53
54
55
56 public void setText(String text) {
57 this.text = text;
58 }
59
60
61
62
63
64
65 public Integer getYear() {
66 return year;
67 }
68
69
70
71
72
73
74
75 public void setYear(Integer year) {
76 this.year = year;
77 }
78
79
80
81
82
83
84 public Double getNumber() {
85 return number;
86 }
87
88
89
90
91
92
93
94 public void setNumber(Double number) {
95 this.number = number;
96 }
97
98
99
100
101
102
103 public Date getDate() {
104 return date;
105 }
106
107
108
109
110
111
112
113 public void setDate(Date date) {
114 this.date = date;
115 }
116
117
118
119
120
121
122 public Date getYearMonth() {
123 return yearMonth;
124 }
125
126
127
128
129
130
131
132 public void setYearMonth(Date yearMonth) {
133 this.yearMonth = yearMonth;
134 }
135 }