View Javadoc
1   /*
2    * CSVeed (https://github.com/42BV/CSVeed)
3    *
4    * Copyright 2013-2023 CSVeed.
5    *
6    * All rights reserved. This program and the accompanying materials
7    * are made available under the terms of The Apache Software License,
8    * Version 2.0 which accompanies this distribution, and is available at
9    * https://www.apache.org/licenses/LICENSE-2.0.txt
10   */
11  package org.csveed.row;
12  
13  import org.csveed.common.Column;
14  import org.csveed.report.RowReport;
15  
16  /**
17   * The Interface Line.
18   */
19  public interface Line extends Iterable<String> {
20  
21      /**
22       * Size.
23       *
24       * @return the int
25       */
26      int size();
27  
28      /**
29       * Gets the.
30       *
31       * @param index
32       *            the index
33       *
34       * @return the string
35       */
36      String get(int index);
37  
38      /**
39       * Report on end of line.
40       *
41       * @return the row report
42       */
43      RowReport reportOnEndOfLine();
44  
45      /**
46       * Report on column.
47       *
48       * @param column
49       *            the column
50       *
51       * @return the row report
52       */
53      RowReport reportOnColumn(Column column);
54  
55  }