1
2
3
4
5
6
7
8
9
10
11 package org.csveed.test.model;
12
13 import org.csveed.annotations.CsvCell;
14 import org.csveed.annotations.CsvFile;
15
16
17
18
19 @CsvFile(useHeader = false)
20 public class BeanWithCustomIndexes {
21
22
23 @CsvCell(columnIndex = 5)
24 private String line3;
25
26
27 @CsvCell(columnIndex = 2)
28 private String line0;
29
30
31 @CsvCell(columnIndex = 3)
32 private String line1;
33
34
35 @CsvCell(columnIndex = 4)
36 private String line2;
37
38
39
40
41
42
43 public String getLine3() {
44 return line3;
45 }
46
47
48
49
50
51
52
53 public void setLine3(String line3) {
54 this.line3 = line3;
55 }
56
57
58
59
60
61
62 public String getLine0() {
63 return line0;
64 }
65
66
67
68
69
70
71
72 public void setLine0(String line0) {
73 this.line0 = line0;
74 }
75
76
77
78
79
80
81 public String getLine1() {
82 return line1;
83 }
84
85
86
87
88
89
90
91 public void setLine1(String line1) {
92 this.line1 = line1;
93 }
94
95
96
97
98
99
100 public String getLine2() {
101 return line2;
102 }
103
104
105
106
107
108
109
110 public void setLine2(String line2) {
111 this.line2 = line2;
112 }
113 }