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.Cell
public boolean getBooleanCellValue()
getBooleanCellValue
in interface org.apache.poi.ss.usermodel.Cell
public int getCachedFormulaResultType()
getCachedFormulaResultType
in interface org.apache.poi.ss.usermodel.Cell
public org.apache.poi.ss.usermodel.Comment getCellComment()
getCellComment
in interface org.apache.poi.ss.usermodel.Cell
public String getCellFormula()
getCellFormula
in interface org.apache.poi.ss.usermodel.Cell
public org.apache.poi.ss.usermodel.CellStyle getCellStyle()
getCellStyle
in interface org.apache.poi.ss.usermodel.Cell
public int getCellType()
getCellType
in interface org.apache.poi.ss.usermodel.Cell
public int getColumnIndex()
getColumnIndex
in interface org.apache.poi.ss.usermodel.Cell
public Date getDateCellValue()
getDateCellValue
in interface org.apache.poi.ss.usermodel.Cell
public byte getErrorCellValue()
getErrorCellValue
in interface org.apache.poi.ss.usermodel.Cell
public org.apache.poi.ss.usermodel.Hyperlink getHyperlink()
getHyperlink
in interface org.apache.poi.ss.usermodel.Cell
public double getNumericCellValue()
getNumericCellValue
in interface org.apache.poi.ss.usermodel.Cell
public org.apache.poi.ss.usermodel.RichTextString getRichStringCellValue()
getRichStringCellValue
in interface org.apache.poi.ss.usermodel.Cell
public org.apache.poi.ss.usermodel.Row getRow()
getRow
in interface org.apache.poi.ss.usermodel.Cell
public int getRowIndex()
getRowIndex
in interface org.apache.poi.ss.usermodel.Cell
public org.apache.poi.ss.usermodel.Sheet getSheet()
getSheet
in interface org.apache.poi.ss.usermodel.Cell
public String getStringCellValue()
getStringCellValue
in interface org.apache.poi.ss.usermodel.Cell
public boolean isPartOfArrayFormulaGroup()
isPartOfArrayFormulaGroup
in interface org.apache.poi.ss.usermodel.Cell
public void removeCellComment()
removeCellComment
in interface org.apache.poi.ss.usermodel.Cell
public void setAsActiveCell()
setAsActiveCell
in interface org.apache.poi.ss.usermodel.Cell
public void setCellComment(org.apache.poi.ss.usermodel.Comment arg0)
setCellComment
in interface org.apache.poi.ss.usermodel.Cell
public void setCellErrorValue(byte arg0)
setCellErrorValue
in interface org.apache.poi.ss.usermodel.Cell
public void setCellFormula(String arg0) throws org.apache.poi.ss.formula.FormulaParseException
setCellFormula
in interface org.apache.poi.ss.usermodel.Cell
org.apache.poi.ss.formula.FormulaParseException
public void setCellStyle(org.apache.poi.ss.usermodel.CellStyle arg0)
setCellStyle
in interface org.apache.poi.ss.usermodel.Cell
public void setCellType(int arg0)
setCellType
in interface org.apache.poi.ss.usermodel.Cell
public void setCellValue(double arg0)
setCellValue
in interface org.apache.poi.ss.usermodel.Cell
public void setCellValue(Date arg0)
setCellValue
in interface org.apache.poi.ss.usermodel.Cell
public void setCellValue(Calendar arg0)
setCellValue
in interface org.apache.poi.ss.usermodel.Cell
public void setCellValue(org.apache.poi.ss.usermodel.RichTextString arg0)
setCellValue
in interface org.apache.poi.ss.usermodel.Cell
public void setCellValue(String arg0)
setCellValue
in interface org.apache.poi.ss.usermodel.Cell
public void setCellValue(boolean arg0)
setCellValue
in interface org.apache.poi.ss.usermodel.Cell
public void setHyperlink(org.apache.poi.ss.usermodel.Hyperlink arg0)
setHyperlink
in interface org.apache.poi.ss.usermodel.Cell
Copyright © 2018. All rights reserved.