|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Cell
A lightweight subset of Cell methods allowing for low memory overhead streaming implementations Feature Request: methods determining the type of the cell on the new Cell class (like CellHandle.isDate() or getCellType()). The current API has a method returning Object, but from I remember at least the date should be explicitly checked with isDate() method. Basically the API should allow us to do what we do now in method ExcelExtenReader.getCellData(CellHandle). Please review the method and let me know what are the plans for the future.
| Field Summary | |
|---|---|
static int |
TYPE_BLANK
Cell types |
static int |
TYPE_BOOLEAN
|
static int |
TYPE_DOUBLE
|
static int |
TYPE_FORMULA
|
static int |
TYPE_FP
|
static int |
TYPE_INT
|
static int |
TYPE_STRING
|
| Method Summary | |
|---|---|
java.lang.String |
getCellAddress()
Returns the Address of this Cell as a String. |
int |
getCellType()
|
int |
getColNum()
Returns the column number of this Cell. |
int |
getFormatId()
Returns the Formatting record ID (FormatId) for this Cell This can be used with 'setFormatId(int i)' to copy the formatting from one Cell to another (e.g. |
java.lang.String |
getFormattedStringVal()
Returns the value of the Cell as a String with formatting pattern applied.. |
int |
getRowNum()
Returns the row number of this Cell. |
java.lang.Object |
getVal()
Returns the value of this Cell in the native underlying data type. |
java.lang.String |
getWorkSheetName()
Returns the name of this Cell's WorkSheet as a String. |
boolean |
isDate()
|
| Field Detail |
|---|
static final int TYPE_BLANK
static final int TYPE_STRING
static final int TYPE_FP
static final int TYPE_INT
static final int TYPE_FORMULA
static final int TYPE_BOOLEAN
static final int TYPE_DOUBLE
| Method Detail |
|---|
boolean isDate()
int getCellType()
int getFormatId()
java.lang.Object getVal()
java.lang.String getFormattedStringVal()
int getColNum()
int getRowNum()
java.lang.String getCellAddress()
java.lang.String getWorkSheetName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||