Class Row

    • Method Detail

      • getCell

        public Cell getCell​(int index)
        Returns a cell in this row by column index;
        Parameters:
        index - - zero-based column index
        Returns:
        Cell value
        Throws:
        IndexOutOfBoundsException - if index is invalid
      • getCells

        public List<Cell> getCells​(int beginIndex,
                                   int endIndex)
      • getOptionalCell

        public Optional<Cell> getOptionalCell​(int index)
      • getFirstNonEmptyCell

        public Optional<Cell> getFirstNonEmptyCell()
      • getCellCount

        public int getCellCount()
      • hasCell

        public boolean hasCell​(int index)
      • getRowNum

        public int getRowNum()
        Get row number of this row
        Returns:
        the row number (1 based)
      • getPhysicalCellCount

        public int getPhysicalCellCount()
      • getCellAsString

        public Optional<String> getCellAsString​(int cellIndex)
      • getCellAsBoolean

        public Optional<Boolean> getCellAsBoolean​(int cellIndex)
      • getCellText

        public String getCellText​(int cellIndex)
      • getCellRawValue

        public Optional<String> getCellRawValue​(int cellIndex)