View Javadoc
1   package org.csveed.test.model;
2   
3   import org.csveed.annotations.CsvCell;
4   import org.csveed.annotations.CsvFile;
5   
6   @CsvFile(useHeader = false)
7   public class BeanWithCustomIndexes {
8   
9       @CsvCell(columnIndex = 5)
10      private String line3;
11  
12      @CsvCell(columnIndex = 2)
13      private String line0;
14  
15      @CsvCell(columnIndex = 3)
16      private String line1;
17  
18      @CsvCell(columnIndex = 4)
19      private String line2;
20  
21      public String getLine3() {
22          return line3;
23      }
24  
25      public void setLine3(String line3) {
26          this.line3 = line3;
27      }
28  
29      public String getLine0() {
30          return line0;
31      }
32  
33      public void setLine0(String line0) {
34          this.line0 = line0;
35      }
36  
37      public String getLine1() {
38          return line1;
39      }
40  
41      public void setLine1(String line1) {
42          this.line1 = line1;
43      }
44  
45      public String getLine2() {
46          return line2;
47      }
48  
49      public void setLine2(String line2) {
50          this.line2 = line2;
51      }
52  }