- java.lang.Object
-
- org.dhatim.fastexcel.reader.Row
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CellgetCell(int index)Returns a cell in this row by column index;CellgetCell(CellAddress address)Optional<Boolean>getCellAsBoolean(int cellIndex)Optional<LocalDateTime>getCellAsDate(int cellIndex)Optional<BigDecimal>getCellAsNumber(int cellIndex)Optional<String>getCellAsString(int cellIndex)intgetCellCount()Optional<String>getCellRawValue(int cellIndex)List<Cell>getCells(int beginIndex, int endIndex)StringgetCellText(int cellIndex)Optional<Cell>getFirstNonEmptyCell()Optional<Cell>getOptionalCell(int index)intgetPhysicalCellCount()intgetRowNum()Get row number of this rowbooleanhasCell(int index)Iterator<Cell>iterator()Stream<Cell>stream()StringtoString()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
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
-
getCell
public Cell getCell(CellAddress address)
-
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()
-
getCellAsDate
public Optional<LocalDateTime> getCellAsDate(int cellIndex)
-
getCellAsNumber
public Optional<BigDecimal> getCellAsNumber(int cellIndex)
-
getCellText
public String getCellText(int cellIndex)
-
-