- java.lang.Object
-
- org.dhatim.fastexcel.reader.Row
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cell
getCell(int index)
Returns a cell in this row by column index;Cell
getCell(CellAddress address)
Optional<Boolean>
getCellAsBoolean(int cellIndex)
Optional<LocalDateTime>
getCellAsDate(int cellIndex)
Optional<BigDecimal>
getCellAsNumber(int cellIndex)
Optional<String>
getCellAsString(int cellIndex)
int
getCellCount()
Optional<String>
getCellRawValue(int cellIndex)
List<Cell>
getCells(int beginIndex, int endIndex)
String
getCellText(int cellIndex)
Optional<Cell>
getFirstNonEmptyCell()
Optional<Cell>
getOptionalCell(int index)
int
getPhysicalCellCount()
int
getRowNum()
Get row number of this rowboolean
hasCell(int index)
Iterator<Cell>
iterator()
Stream<Cell>
stream()
String
toString()
-
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)
-
-