Example usage for Java org.apache.poi.hssf.usermodel HSSFCell fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | getBooleanCellValue() get the value of the cell as a boolean. |
CellType | getCachedFormulaResultType() Only valid for formula cells |
CellType | getCachedFormulaResultTypeEnum() Only valid for formula cells |
HSSFComment | getCellComment() Returns comment associated with this cell |
String | getCellFormula() |
HSSFCellStyle | getCellStyle() get the style for the cell. |
CellType | getCellType() get the cells type (numeric, formula or string) |
CellType | getCellTypeEnum() |
int | getColumnIndex() |
Date | getDateCellValue() Get the value of the cell as a date. |
byte | getErrorCellValue() get the value of the cell as an error code. |
HSSFHyperlink | getHyperlink() |
double | getNumericCellValue() Get the value of the cell as a number. |
HSSFRichTextString | getRichStringCellValue() get the value of the cell as a string - for numeric cells we throw an exception. |
HSSFRow | getRow() Returns the HSSFRow this cell belongs to |
int | getRowIndex() |
HSSFSheet | getSheet() Returns the HSSFSheet this cell belongs to |
String | getStringCellValue() get the value of the cell as a string - for numeric cells we throw an exception. |
void | setCellComment(Comment comment) Assign a comment to this cell. |
void | setCellErrorValue(byte errorCode) set a error value for the cell |
void | setCellErrorValue(FormulaError error) set a error value for the cell |
void | setCellFormula(String formula) |
void | setCellStyle(CellStyle style) Set the style for the cell. |
void | setCellStyle(HSSFCellStyle style) |
void | setCellType(CellType cellType) |
void | setCellValue(boolean value) set a boolean value for the cell |
void | setHyperlink(Hyperlink hyperlink) Assign a hyperlink to this cell. |
String | toString() Returns a string representation of the cell This method returns a simple representation, anything more complex should be in user code, with knowledge of the semantics of the sheet being processed. |