public class Cell extends Object
| Modifier and Type | Method and Description |
|---|---|
Boolean |
asBoolean() |
LocalDateTime |
asDate()
Returns a date-time interpretation of a numerical cell.
|
BigDecimal |
asNumber() |
String |
asString() |
CellAddress |
getAddress() |
int |
getColumnIndex() |
Integer |
getDataFormatId() |
String |
getDataFormatString() |
String |
getFormula() |
String |
getRawValue() |
String |
getText() |
CellType |
getType() |
Object |
getValue() |
String |
toString()
Returns a string representation of this component for debug purposes.
|
public CellType getType()
public int getColumnIndex()
public CellAddress getAddress()
public Object getValue()
public String getRawValue()
public String getFormula()
public BigDecimal asNumber()
public LocalDateTime asDate()
ExcelReaderException - is the cell if not of numerical type or emptypublic Boolean asBoolean()
public String asString()
ExcelReaderException - when the cell is not of string typegetText()public String getText()
asString()public Integer getDataFormatId()
public String getDataFormatString()
Copyright © 2023. All rights reserved.