public class StreamingCell extends Object implements org.apache.poi.ss.usermodel.Cell
| Modifier and Type | Field and Description |
|---|---|
static String |
NUMERIC_REGEX |
| Constructor and Description |
|---|
StreamingCell(int columnIndex,
int rowIndex) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.poi.ss.util.CellRangeAddress |
getArrayFormulaRange()
Not supported
|
boolean |
getBooleanCellValue()
Not supported
|
int |
getCachedFormulaResultType()
Not supported
|
org.apache.poi.ss.usermodel.Comment |
getCellComment()
Not supported
|
String |
getCellFormula()
Not supported
|
org.apache.poi.ss.usermodel.CellStyle |
getCellStyle()
Not supported
|
int |
getCellType()
Return the cell type.
|
int |
getColumnIndex()
Returns column index of this cell
|
Object |
getContents() |
Date |
getDateCellValue()
Get the value of the cell as a date.
|
byte |
getErrorCellValue()
Not supported
|
org.apache.poi.ss.usermodel.Hyperlink |
getHyperlink()
Not supported
|
double |
getNumericCellValue()
Get the value of the cell as a number.
|
org.apache.poi.ss.usermodel.RichTextString |
getRichStringCellValue()
Not supported
|
org.apache.poi.ss.usermodel.Row |
getRow()
Returns the Row this cell belongs to.
|
int |
getRowIndex()
Returns row index of a row in the sheet that contains this cell
|
org.apache.poi.ss.usermodel.Sheet |
getSheet()
Not supported
|
String |
getStringCellValue()
Get the value of the cell as a string.
|
boolean |
isPartOfArrayFormulaGroup()
Not supported
|
void |
removeCellComment()
Not supported
|
void |
setAsActiveCell()
Not supported
|
void |
setCellComment(org.apache.poi.ss.usermodel.Comment comment)
Not supported
|
void |
setCellErrorValue(byte value)
Not supported
|
void |
setCellFormula(String formula)
Not supported
|
void |
setCellStyle(org.apache.poi.ss.usermodel.CellStyle style)
Not supported
|
void |
setCellType(int cellType)
Not supported
|
void |
setCellValue(boolean value)
Not supported
|
void |
setCellValue(Calendar value)
Not supported
|
void |
setCellValue(Date value)
Not supported
|
void |
setCellValue(double value)
Not supported
|
void |
setCellValue(org.apache.poi.ss.usermodel.RichTextString value)
Not supported
|
void |
setCellValue(String value)
Not supported
|
void |
setContents(Object contents) |
void |
setHyperlink(org.apache.poi.ss.usermodel.Hyperlink link)
Not supported
|
void |
setRow(org.apache.poi.ss.usermodel.Row row) |
public static final String NUMERIC_REGEX
public Object getContents()
public void setContents(Object contents)
public void setRow(org.apache.poi.ss.usermodel.Row row)
public int getColumnIndex()
getColumnIndex in interface org.apache.poi.ss.usermodel.Cellpublic int getRowIndex()
getRowIndex 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 getCellType()
getCellType in interface org.apache.poi.ss.usermodel.CellCell.CELL_TYPE_BLANK,
Cell.CELL_TYPE_NUMERIC,
Cell.CELL_TYPE_STRINGpublic String getStringCellValue()
getStringCellValue in interface org.apache.poi.ss.usermodel.Cellpublic double getNumericCellValue()
getNumericCellValue in interface org.apache.poi.ss.usermodel.CellNumberFormatException - if the cell value isn't a parsable double.public Date getDateCellValue()
getDateCellValue in interface org.apache.poi.ss.usermodel.CellIllegalStateException - if the cell type returned by getCellType() is
CELL_TYPE_STRINGNumberFormatException - if the cell value isn't a parsable double.public void setCellType(int cellType)
setCellType in interface org.apache.poi.ss.usermodel.Cellpublic org.apache.poi.ss.usermodel.Sheet getSheet()
getSheet in interface org.apache.poi.ss.usermodel.Cellpublic int getCachedFormulaResultType()
getCachedFormulaResultType in interface org.apache.poi.ss.usermodel.Cellpublic void setCellValue(double value)
setCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellValue(Date value)
setCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellValue(Calendar value)
setCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellValue(org.apache.poi.ss.usermodel.RichTextString value)
setCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellValue(String value)
setCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellFormula(String formula) throws org.apache.poi.ss.formula.FormulaParseException
setCellFormula in interface org.apache.poi.ss.usermodel.Cellorg.apache.poi.ss.formula.FormulaParseExceptionpublic String getCellFormula()
getCellFormula in interface org.apache.poi.ss.usermodel.Cellpublic org.apache.poi.ss.usermodel.RichTextString getRichStringCellValue()
getRichStringCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellValue(boolean value)
setCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellErrorValue(byte value)
setCellErrorValue in interface org.apache.poi.ss.usermodel.Cellpublic boolean getBooleanCellValue()
getBooleanCellValue in interface org.apache.poi.ss.usermodel.Cellpublic byte getErrorCellValue()
getErrorCellValue in interface org.apache.poi.ss.usermodel.Cellpublic void setCellStyle(org.apache.poi.ss.usermodel.CellStyle style)
setCellStyle in interface org.apache.poi.ss.usermodel.Cellpublic org.apache.poi.ss.usermodel.CellStyle getCellStyle()
getCellStyle 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 comment)
setCellComment in interface org.apache.poi.ss.usermodel.Cellpublic org.apache.poi.ss.usermodel.Comment getCellComment()
getCellComment in interface org.apache.poi.ss.usermodel.Cellpublic void removeCellComment()
removeCellComment in interface org.apache.poi.ss.usermodel.Cellpublic org.apache.poi.ss.usermodel.Hyperlink getHyperlink()
getHyperlink in interface org.apache.poi.ss.usermodel.Cellpublic void setHyperlink(org.apache.poi.ss.usermodel.Hyperlink link)
setHyperlink in interface org.apache.poi.ss.usermodel.Cellpublic org.apache.poi.ss.util.CellRangeAddress getArrayFormulaRange()
getArrayFormulaRange in interface org.apache.poi.ss.usermodel.Cellpublic boolean isPartOfArrayFormulaGroup()
isPartOfArrayFormulaGroup in interface org.apache.poi.ss.usermodel.CellCopyright © 2015. All rights reserved.