public class CSVCell extends Object implements org.apache.poi.ss.usermodel.Cell
Cell for use in CSV files.
A csv cell can only ever contain numeric, blank or string values. and will act as such.| Constructor and Description |
|---|
CSVCell(int type,
CSVRow row)
Create a new cell with of a specific type and in a specific row.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.poi.ss.util.CellRangeAddress |
getArrayFormulaRange() |
boolean |
getBooleanCellValue() |
int |
getCachedFormulaResultType() |
org.apache.poi.ss.usermodel.Comment |
getCellComment() |
String |
getCellFormula() |
org.apache.poi.ss.usermodel.CellStyle |
getCellStyle() |
int |
getCellType() |
int |
getColumnIndex() |
Date |
getDateCellValue() |
byte |
getErrorCellValue() |
org.apache.poi.ss.usermodel.Hyperlink |
getHyperlink() |
double |
getNumericCellValue() |
org.apache.poi.ss.usermodel.RichTextString |
getRichStringCellValue() |
org.apache.poi.ss.usermodel.Row |
getRow() |
int |
getRowIndex() |
org.apache.poi.ss.usermodel.Sheet |
getSheet() |
String |
getStringCellValue() |
boolean |
isPartOfArrayFormulaGroup() |
void |
removeCellComment() |
void |
setAsActiveCell() |
void |
setCellComment(org.apache.poi.ss.usermodel.Comment arg0) |
void |
setCellErrorValue(byte arg0) |
void |
setCellFormula(String arg0) |
void |
setCellStyle(org.apache.poi.ss.usermodel.CellStyle arg0) |
void |
setCellType(int arg0) |
void |
setCellValue(boolean arg0) |
void |
setCellValue(Calendar arg0) |
void |
setCellValue(Date arg0) |
void |
setCellValue(double arg0) |
void |
setCellValue(org.apache.poi.ss.usermodel.RichTextString arg0) |
void |
setCellValue(String arg0) |
void |
setHyperlink(org.apache.poi.ss.usermodel.Hyperlink arg0) |
String |
toString() |
public org.apache.poi.ss.util.CellRangeAddress getArrayFormulaRange()
getArrayFormulaRange in interface org.apache.poi.ss.usermodel.Cellpublic boolean getBooleanCellValue()
getBooleanCellValue in interface org.apache.poi.ss.usermodel.Cellpublic int getCachedFormulaResultType()
getCachedFormulaResultType in interface org.apache.poi.ss.usermodel.Cellpublic org.apache.poi.ss.usermodel.Comment getCellComment()
getCellComment in interface org.apache.poi.ss.usermodel.Cellpublic String getCellFormula()
getCellFormula in interface org.apache.poi.ss.usermodel.Cellpublic org.apache.poi.ss.usermodel.CellStyle getCellStyle()
getCellStyle in interface org.apache.poi.ss.usermodel.Cellpublic int getCellType()
getCellType in interface org.apache.poi.ss.usermodel.Cellpublic int getColumnIndex()
getColumnIndex in interface org.apache.poi.ss.usermodel.Cellpublic Date getDateCellValue()
getDateCellValue in interface org.apache.poi.ss.usermodel.Cellpublic byte getErrorCellValue()
getErrorCellValue in interface org.apache.poi.ss.usermodel.Cellpublic org.apache.poi.ss.usermodel.Hyperlink getHyperlink()
getHyperlink in interface org.apache.poi.ss.usermodel.Cellpublic double getNumericCellValue()
getNumericCellValue in interface org.apache.poi.ss.usermodel.Cellpublic org.apache.poi.ss.usermodel.RichTextString getRichStringCellValue()
getRichStringCellValue in interface org.apache.poi.ss.usermodel.Cellpublic org.apache.poi.ss.usermodel.Row getRow()
getRow in interface org.apache.poi.ss.usermodel.Cellpublic int getRowIndex()
getRowIndex in interface org.apache.poi.ss.usermodel.Cellpublic org.apache.poi.ss.usermodel.Sheet getSheet()
getSheet in interface org.apache.poi.ss.usermodel.Cellpublic String getStringCellValue()
getStringCellValue in interface org.apache.poi.ss.usermodel.Cellpublic boolean isPartOfArrayFormulaGroup()
isPartOfArrayFormulaGroup in interface org.apache.poi.ss.usermodel.Cellpublic void removeCellComment()
removeCellComment in interface org.apache.poi.ss.usermodel.Cellpublic void setAsActiveCell()
setAsActiveCell in interface org.apache.poi.ss.usermodel.Cellpublic void setCellComment(org.apache.poi.ss.usermodel.Comment arg0)
setCellComment in interface org.apache.poi.ss.usermodel.Cellpublic void setCellErrorValue(byte arg0)
setCellErrorValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellFormula(String arg0) throws org.apache.poi.ss.formula.FormulaParseException
setCellFormula in interface org.apache.poi.ss.usermodel.Cellorg.apache.poi.ss.formula.FormulaParseExceptionpublic void setCellStyle(org.apache.poi.ss.usermodel.CellStyle arg0)
setCellStyle in interface org.apache.poi.ss.usermodel.Cellpublic void setCellType(int arg0)
setCellType in interface org.apache.poi.ss.usermodel.Cellpublic void setCellValue(double arg0)
setCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellValue(Date arg0)
setCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellValue(Calendar arg0)
setCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellValue(org.apache.poi.ss.usermodel.RichTextString arg0)
setCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellValue(String arg0)
setCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellValue(boolean arg0)
setCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setHyperlink(org.apache.poi.ss.usermodel.Hyperlink arg0)
setHyperlink in interface org.apache.poi.ss.usermodel.CellCopyright © 2018. All rights reserved.