Class RowData

java.lang.Object
com.inet.excel.parser.RowData

public class RowData extends Object
Container for data of cells belonging to single row.
  • Constructor Details

    • RowData

      public RowData(int rowIndex)
      Creates instance representing row with specified index.
      Parameters:
      rowIndex - index of the row. Minimum value is 1.
      Throws:
      IllegalArgumentException - if specified index is smaller than 1.
  • Method Details

    • getRowIndex

      public int getRowIndex()
      Returns index of the row. Minimum value is 1.
      Returns:
      index of the row.
    • addCellData

      public void addCellData(RowData.CellData cellData)
      Adds data of cell belonging to the row, which is represented by this container.
      Parameters:
      cellData - data of the cell.
    • getCellsInRow

      public List<RowData.CellData> getCellsInRow()
      Returns list of all cell data included in this container.
      Returns:
      list of all cell data included in this container.